summaryrefslogtreecommitdiff
path: root/rl
diff options
context:
space:
mode:
Diffstat (limited to 'rl')
-rw-r--r--rl/tutorials/gym_basics.ipynb54
1 files changed, 54 insertions, 0 deletions
diff --git a/rl/tutorials/gym_basics.ipynb b/rl/tutorials/gym_basics.ipynb
new file mode 100644
index 0000000..f838b9d
--- /dev/null
+++ b/rl/tutorials/gym_basics.ipynb
@@ -0,0 +1,54 @@
+{
+ "cells": [
+ {
+ "cell_type": "markdown",
+ "id": "fa0f43f8",
+ "metadata": {},
+ "source": [
+ "## basics"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "id": "3c6d4c34",
+ "metadata": {},
+ "source": [
+ "- gym 中的 wrapper(`gym.Wrapper`),wrap 的对象是 env (`gym.Env`)"
+ ]
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "Python 3 (ipykernel)",
+ "language": "python",
+ "name": "python3"
+ },
+ "language_info": {
+ "codemirror_mode": {
+ "name": "ipython",
+ "version": 3
+ },
+ "file_extension": ".py",
+ "mimetype": "text/x-python",
+ "name": "python",
+ "nbconvert_exporter": "python",
+ "pygments_lexer": "ipython3",
+ "version": "3.10.9"
+ },
+ "toc": {
+ "base_numbering": 1,
+ "nav_menu": {},
+ "number_sections": true,
+ "sideBar": true,
+ "skip_h1_title": false,
+ "title_cell": "Table of Contents",
+ "title_sidebar": "Contents",
+ "toc_cell": false,
+ "toc_position": {},
+ "toc_section_display": true,
+ "toc_window_display": false
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 5
+}