Commit
•
c51b0f3
1
Parent(s):
d3cb55c
Initial commit
Browse files- .gitattributes +1 -0
- README.md +80 -0
- args.yml +83 -0
- config.yml +19 -0
- env_kwargs.yml +1 -0
- ppo-Acrobot-v1.zip +3 -0
- ppo-Acrobot-v1/_stable_baselines3_version +1 -0
- ppo-Acrobot-v1/data +115 -0
- ppo-Acrobot-v1/policy.optimizer.pth +3 -0
- ppo-Acrobot-v1/policy.pth +3 -0
- ppo-Acrobot-v1/pytorch_variables.pth +3 -0
- ppo-Acrobot-v1/system_info.txt +8 -0
- replay.mp4 +3 -0
- results.json +1 -0
- train_eval_metrics.zip +3 -0
- vec_normalize.pkl +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: stable-baselines3
|
3 |
+
tags:
|
4 |
+
- Acrobot-v1
|
5 |
+
- deep-reinforcement-learning
|
6 |
+
- reinforcement-learning
|
7 |
+
- stable-baselines3
|
8 |
+
model-index:
|
9 |
+
- name: PPO
|
10 |
+
results:
|
11 |
+
- task:
|
12 |
+
type: reinforcement-learning
|
13 |
+
name: reinforcement-learning
|
14 |
+
dataset:
|
15 |
+
name: Acrobot-v1
|
16 |
+
type: Acrobot-v1
|
17 |
+
metrics:
|
18 |
+
- type: mean_reward
|
19 |
+
value: -71.60 +/- 7.10
|
20 |
+
name: mean_reward
|
21 |
+
verified: false
|
22 |
+
---
|
23 |
+
|
24 |
+
# **PPO** Agent playing **Acrobot-v1**
|
25 |
+
This is a trained model of a **PPO** agent playing **Acrobot-v1**
|
26 |
+
using the [stable-baselines3 library](https://github.com/DLR-RM/stable-baselines3)
|
27 |
+
and the [RL Zoo](https://github.com/DLR-RM/rl-baselines3-zoo).
|
28 |
+
|
29 |
+
The RL Zoo is a training framework for Stable Baselines3
|
30 |
+
reinforcement learning agents,
|
31 |
+
with hyperparameter optimization and pre-trained agents included.
|
32 |
+
|
33 |
+
## Usage (with SB3 RL Zoo)
|
34 |
+
|
35 |
+
RL Zoo: https://github.com/DLR-RM/rl-baselines3-zoo<br/>
|
36 |
+
SB3: https://github.com/DLR-RM/stable-baselines3<br/>
|
37 |
+
SB3 Contrib: https://github.com/Stable-Baselines-Team/stable-baselines3-contrib
|
38 |
+
|
39 |
+
Install the RL Zoo (with SB3 and SB3-Contrib):
|
40 |
+
```bash
|
41 |
+
pip install rl_zoo3
|
42 |
+
```
|
43 |
+
|
44 |
+
```
|
45 |
+
# Download model and save it into the logs/ folder
|
46 |
+
python -m rl_zoo3.load_from_hub --algo ppo --env Acrobot-v1 -orga qgallouedec -f logs/
|
47 |
+
python -m rl_zoo3.enjoy --algo ppo --env Acrobot-v1 -f logs/
|
48 |
+
```
|
49 |
+
|
50 |
+
If you installed the RL Zoo3 via pip (`pip install rl_zoo3`), from anywhere you can do:
|
51 |
+
```
|
52 |
+
python -m rl_zoo3.load_from_hub --algo ppo --env Acrobot-v1 -orga qgallouedec -f logs/
|
53 |
+
python -m rl_zoo3.enjoy --algo ppo --env Acrobot-v1 -f logs/
|
54 |
+
```
|
55 |
+
|
56 |
+
## Training (with the RL Zoo)
|
57 |
+
```
|
58 |
+
python -m rl_zoo3.train --algo ppo --env Acrobot-v1 -f logs/
|
59 |
+
# Upload the model and generate video (when possible)
|
60 |
+
python -m rl_zoo3.push_to_hub --algo ppo --env Acrobot-v1 -f logs/ -orga qgallouedec
|
61 |
+
```
|
62 |
+
|
63 |
+
## Hyperparameters
|
64 |
+
```python
|
65 |
+
OrderedDict([('ent_coef', 0.0),
|
66 |
+
('gae_lambda', 0.94),
|
67 |
+
('gamma', 0.99),
|
68 |
+
('n_envs', 16),
|
69 |
+
('n_epochs', 4),
|
70 |
+
('n_steps', 256),
|
71 |
+
('n_timesteps', 1000000.0),
|
72 |
+
('normalize', True),
|
73 |
+
('policy', 'MlpPolicy'),
|
74 |
+
('normalize_kwargs', {'norm_obs': True, 'norm_reward': False})])
|
75 |
+
```
|
76 |
+
|
77 |
+
# Environment Arguments
|
78 |
+
```python
|
79 |
+
{'render_mode': 'rgb_array'}
|
80 |
+
```
|
args.yml
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!!python/object/apply:collections.OrderedDict
|
2 |
+
- - - algo
|
3 |
+
- ppo
|
4 |
+
- - conf_file
|
5 |
+
- null
|
6 |
+
- - device
|
7 |
+
- auto
|
8 |
+
- - env
|
9 |
+
- Acrobot-v1
|
10 |
+
- - env_kwargs
|
11 |
+
- null
|
12 |
+
- - eval_env_kwargs
|
13 |
+
- null
|
14 |
+
- - eval_episodes
|
15 |
+
- 5
|
16 |
+
- - eval_freq
|
17 |
+
- 25000
|
18 |
+
- - gym_packages
|
19 |
+
- []
|
20 |
+
- - hyperparams
|
21 |
+
- null
|
22 |
+
- - log_folder
|
23 |
+
- logs
|
24 |
+
- - log_interval
|
25 |
+
- -1
|
26 |
+
- - max_total_trials
|
27 |
+
- null
|
28 |
+
- - n_eval_envs
|
29 |
+
- 1
|
30 |
+
- - n_evaluations
|
31 |
+
- null
|
32 |
+
- - n_jobs
|
33 |
+
- 1
|
34 |
+
- - n_startup_trials
|
35 |
+
- 10
|
36 |
+
- - n_timesteps
|
37 |
+
- -1
|
38 |
+
- - n_trials
|
39 |
+
- 500
|
40 |
+
- - no_optim_plots
|
41 |
+
- false
|
42 |
+
- - num_threads
|
43 |
+
- -1
|
44 |
+
- - optimization_log_path
|
45 |
+
- null
|
46 |
+
- - optimize_hyperparameters
|
47 |
+
- false
|
48 |
+
- - progress
|
49 |
+
- false
|
50 |
+
- - pruner
|
51 |
+
- median
|
52 |
+
- - sampler
|
53 |
+
- tpe
|
54 |
+
- - save_freq
|
55 |
+
- -1
|
56 |
+
- - save_replay_buffer
|
57 |
+
- false
|
58 |
+
- - seed
|
59 |
+
- 2570276932
|
60 |
+
- - storage
|
61 |
+
- null
|
62 |
+
- - study_name
|
63 |
+
- null
|
64 |
+
- - tensorboard_log
|
65 |
+
- ''
|
66 |
+
- - track
|
67 |
+
- false
|
68 |
+
- - trained_agent
|
69 |
+
- ''
|
70 |
+
- - truncate_last_trajectory
|
71 |
+
- true
|
72 |
+
- - uuid
|
73 |
+
- false
|
74 |
+
- - vec_env
|
75 |
+
- dummy
|
76 |
+
- - verbose
|
77 |
+
- 1
|
78 |
+
- - wandb_entity
|
79 |
+
- null
|
80 |
+
- - wandb_project_name
|
81 |
+
- sb3
|
82 |
+
- - wandb_tags
|
83 |
+
- []
|
config.yml
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!!python/object/apply:collections.OrderedDict
|
2 |
+
- - - ent_coef
|
3 |
+
- 0.0
|
4 |
+
- - gae_lambda
|
5 |
+
- 0.94
|
6 |
+
- - gamma
|
7 |
+
- 0.99
|
8 |
+
- - n_envs
|
9 |
+
- 16
|
10 |
+
- - n_epochs
|
11 |
+
- 4
|
12 |
+
- - n_steps
|
13 |
+
- 256
|
14 |
+
- - n_timesteps
|
15 |
+
- 1000000.0
|
16 |
+
- - normalize
|
17 |
+
- true
|
18 |
+
- - policy
|
19 |
+
- MlpPolicy
|
env_kwargs.yml
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
render_mode: rgb_array
|
ppo-Acrobot-v1.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d7592b2258327d9303968551c8107dcbf981f0fdd4005b5873f8537be9edbb6
|
3 |
+
size 146971
|
ppo-Acrobot-v1/_stable_baselines3_version
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
2.3.2
|
ppo-Acrobot-v1/data
ADDED
@@ -0,0 +1,115 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"policy_class": {
|
3 |
+
":type:": "<class 'abc.ABCMeta'>",
|
4 |
+
":serialized:": "gAWVOwAAAAAAAACMIXN0YWJsZV9iYXNlbGluZXMzLmNvbW1vbi5wb2xpY2llc5SMEUFjdG9yQ3JpdGljUG9saWN5lJOULg==",
|
5 |
+
"__module__": "stable_baselines3.common.policies",
|
6 |
+
"__doc__": "\n Policy class for actor-critic algorithms (has both policy and value prediction).\n Used by A2C, PPO and the likes.\n\n :param observation_space: Observation space\n :param action_space: Action space\n :param lr_schedule: Learning rate schedule (could be constant)\n :param net_arch: The specification of the policy and value networks.\n :param activation_fn: Activation function\n :param ortho_init: Whether to use or not orthogonal initialization\n :param use_sde: Whether to use State Dependent Exploration or not\n :param log_std_init: Initial value for the log standard deviation\n :param full_std: Whether to use (n_features x n_actions) parameters\n for the std instead of only (n_features,) when using gSDE\n :param use_expln: Use ``expln()`` function instead of ``exp()`` to ensure\n a positive standard deviation (cf paper). It allows to keep variance\n above zero and prevent it from growing too fast. In practice, ``exp()`` is usually enough.\n :param squash_output: Whether to squash the output using a tanh function,\n this allows to ensure boundaries when using gSDE.\n :param features_extractor_class: Features extractor to use.\n :param features_extractor_kwargs: Keyword arguments\n to pass to the features extractor.\n :param share_features_extractor: If True, the features extractor is shared between the policy and value networks.\n :param normalize_images: Whether to normalize images or not,\n dividing by 255.0 (True by default)\n :param optimizer_class: The optimizer to use,\n ``th.optim.Adam`` by default\n :param optimizer_kwargs: Additional keyword arguments,\n excluding the learning rate, to pass to the optimizer\n ",
|
7 |
+
"__init__": "<function ActorCriticPolicy.__init__ at 0x143c75870>",
|
8 |
+
"_get_constructor_parameters": "<function ActorCriticPolicy._get_constructor_parameters at 0x143c75900>",
|
9 |
+
"reset_noise": "<function ActorCriticPolicy.reset_noise at 0x143c75990>",
|
10 |
+
"_build_mlp_extractor": "<function ActorCriticPolicy._build_mlp_extractor at 0x143c75a20>",
|
11 |
+
"_build": "<function ActorCriticPolicy._build at 0x143c75ab0>",
|
12 |
+
"forward": "<function ActorCriticPolicy.forward at 0x143c75b40>",
|
13 |
+
"extract_features": "<function ActorCriticPolicy.extract_features at 0x143c75bd0>",
|
14 |
+
"_get_action_dist_from_latent": "<function ActorCriticPolicy._get_action_dist_from_latent at 0x143c75c60>",
|
15 |
+
"_predict": "<function ActorCriticPolicy._predict at 0x143c75cf0>",
|
16 |
+
"evaluate_actions": "<function ActorCriticPolicy.evaluate_actions at 0x143c75d80>",
|
17 |
+
"get_distribution": "<function ActorCriticPolicy.get_distribution at 0x143c75e10>",
|
18 |
+
"predict_values": "<function ActorCriticPolicy.predict_values at 0x143c75ea0>",
|
19 |
+
"__abstractmethods__": "frozenset()",
|
20 |
+
"_abc_impl": "<_abc._abc_data object at 0x13f481080>"
|
21 |
+
},
|
22 |
+
"verbose": 1,
|
23 |
+
"policy_kwargs": {},
|
24 |
+
"num_timesteps": 1003520,
|
25 |
+
"_total_timesteps": 1000000,
|
26 |
+
"_num_timesteps_at_start": 0,
|
27 |
+
"seed": 0,
|
28 |
+
"action_noise": null,
|
29 |
+
"start_time": 1715769074234534000,
|
30 |
+
"learning_rate": 0.0003,
|
31 |
+
"tensorboard_log": null,
|
32 |
+
"_last_obs": null,
|
33 |
+
"_last_episode_starts": {
|
34 |
+
":type:": "<class 'numpy.ndarray'>",
|
35 |
+
":serialized:": "gAWVgwAAAAAAAACMEm51bXB5LmNvcmUubnVtZXJpY5SMC19mcm9tYnVmZmVylJOUKJYQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACUjAVudW1weZSMBWR0eXBllJOUjAJiMZSJiIeUUpQoSwOMAXyUTk5OSv////9K/////0sAdJRiSxCFlIwBQ5R0lFKULg=="
|
36 |
+
},
|
37 |
+
"_last_original_obs": {
|
38 |
+
":type:": "<class 'numpy.ndarray'>",
|
39 |
+
":serialized:": "gAWV9QEAAAAAAACMEm51bXB5LmNvcmUubnVtZXJpY5SMC19mcm9tYnVmZmVylJOUKJaAAQAAAAAAAOb+fz+/Db47Pkd/P7Osmb0TW6o82+RbPczLfj/SYsa9PFd/P7fhkr2X1S+9MWubvaPufz/Skbw8Xk1/P+Qblz0oQmm9STN+Pdnafz/Z5gm9s+Z+P8CMvb3Bm469gNr0vEnxfz+Ylq08ctp/P4ulCj36YRk9fXO/PeFvfz82v4c9B4l/P3Oydj0wbrG8ndCKPQ3Ufj//t8O9R69/PxE8S73hCnU9X+LuPBuMfz/1e3M9jPp/PyNVU7yQSBu8xh89vTICfz8mEbQ9e+t/P9D5zLzFwIG8s6THPTj/fz/AHaC7EdF/Pxv9Gr333Ia9JKz6PNnpfj/rfLy94Lh+PxNfzL0Twbs8XrAOvVNOfz8PtJY9cyx/PyRspL1lYJU8MmyqPaz/fz/Zyk+7cHt/PwYygj33o4Q9jFbGvXyDfz/SXny9lPB/PyK0sbz+Z4y8hRNgPd+Gfz9G63g9Ndt/P0c8Cb2N78Y9vLQTvbv/fz+Aojy74rV/Pwm/Qj0mV4y8341QPZSMBW51bXB5lIwFZHR5cGWUk5SMAmY0lImIh5RSlChLA4wBPJROTk5K/////0r/////SwB0lGJLEEsGhpSMAUOUdJRSlC4="
|
40 |
+
},
|
41 |
+
"_episode_num": 0,
|
42 |
+
"use_sde": false,
|
43 |
+
"sde_sample_freq": -1,
|
44 |
+
"_current_progress_remaining": -0.0035199999999999676,
|
45 |
+
"_stats_window_size": 100,
|
46 |
+
"ep_info_buffer": {
|
47 |
+
":type:": "<class 'collections.deque'>",
|
48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GgIR0ByAbk0aZQYdWUu"
|
49 |
+
},
|
50 |
+
"ep_success_buffer": {
|
51 |
+
":type:": "<class 'collections.deque'>",
|
52 |
+
":serialized:": "gAWVIAAAAAAAAACMC2NvbGxlY3Rpb25zlIwFZGVxdWWUk5QpS2SGlFKULg=="
|
53 |
+
},
|
54 |
+
"_n_updates": 980,
|
55 |
+
"observation_space": {
|
56 |
+
":type:": "<class 'gymnasium.spaces.box.Box'>",
|
57 |
+
":serialized:": "gAWVNAIAAAAAAACMFGd5bW5hc2l1bS5zcGFjZXMuYm94lIwDQm94lJOUKYGUfZQojAVkdHlwZZSMBW51bXB5lIwFZHR5cGWUk5SMAmY0lImIh5RSlChLA4wBPJROTk5K/////0r/////SwB0lGKMDWJvdW5kZWRfYmVsb3eUjBJudW1weS5jb3JlLm51bWVyaWOUjAtfZnJvbWJ1ZmZlcpSTlCiWBgAAAAAAAAABAQEBAQGUaAiMAmIxlImIh5RSlChLA4wBfJROTk5K/////0r/////SwB0lGJLBoWUjAFDlHSUUpSMDWJvdW5kZWRfYWJvdmWUaBEolgYAAAAAAAAAAQEBAQEBlGgVSwaFlGgZdJRSlIwGX3NoYXBllEsGhZSMA2xvd5RoESiWGAAAAAAAAAAAAIC/AACAvwAAgL8AAIC/2w9JwdYx4sGUaAtLBoWUaBl0lFKUjARoaWdolGgRKJYYAAAAAAAAAAAAgD8AAIA/AACAPwAAgD/bD0lB1jHiQZRoC0sGhZRoGXSUUpSMCGxvd19yZXBylIxDWyAtMS4gICAgICAgIC0xLiAgICAgICAgLTEuICAgICAgICAtMS4gICAgICAgLTEyLjU2NjM3MSAtMjguMjc0MzM0XZSMCWhpZ2hfcmVwcpSMPVsgMS4gICAgICAgIDEuICAgICAgICAxLiAgICAgICAgMS4gICAgICAgMTIuNTY2MzcxIDI4LjI3NDMzNF2UjApfbnBfcmFuZG9tlE51Yi4=",
|
58 |
+
"dtype": "float32",
|
59 |
+
"bounded_below": "[ True True True True True True]",
|
60 |
+
"bounded_above": "[ True True True True True True]",
|
61 |
+
"_shape": [
|
62 |
+
6
|
63 |
+
],
|
64 |
+
"low": "[ -1. -1. -1. -1. -12.566371 -28.274334]",
|
65 |
+
"high": "[ 1. 1. 1. 1. 12.566371 28.274334]",
|
66 |
+
"low_repr": "[ -1. -1. -1. -1. -12.566371 -28.274334]",
|
67 |
+
"high_repr": "[ 1. 1. 1. 1. 12.566371 28.274334]",
|
68 |
+
"_np_random": null
|
69 |
+
},
|
70 |
+
"action_space": {
|
71 |
+
":type:": "<class 'gymnasium.spaces.discrete.Discrete'>",
|
72 |
+
":serialized:": "gAWVwAEAAAAAAACMGWd5bW5hc2l1bS5zcGFjZXMuZGlzY3JldGWUjAhEaXNjcmV0ZZSTlCmBlH2UKIwBbpSMFW51bXB5LmNvcmUubXVsdGlhcnJheZSMBnNjYWxhcpSTlIwFbnVtcHmUjAVkdHlwZZSTlIwCaTiUiYiHlFKUKEsDjAE8lE5OTkr/////Sv////9LAHSUYkMIAwAAAAAAAACUhpRSlIwFc3RhcnSUaAhoDkMIAAAAAAAAAACUhpRSlIwGX3NoYXBllCmMBWR0eXBllGgLjAJpOJSJiIeUUpQoSwNoD05OTkr/////Sv////9LAHSUYowKX25wX3JhbmRvbZSMFG51bXB5LnJhbmRvbS5fcGlja2xllIwQX19nZW5lcmF0b3JfY3RvcpSTlIwFUENHNjSUaB+MFF9fYml0X2dlbmVyYXRvcl9jdG9ylJOUhpRSlH2UKIwNYml0X2dlbmVyYXRvcpSMBVBDRzY0lIwFc3RhdGWUfZQoaCqKEONhlaa3XlgJLUWWWTS1oRqMA2luY5SKEKlzeES8M4FYghr3OtvajUF1jApoYXNfdWludDMylEsAjAh1aW50ZWdlcpRLAHVidWIu",
|
73 |
+
"n": "3",
|
74 |
+
"start": "0",
|
75 |
+
"_shape": [],
|
76 |
+
"dtype": "int64",
|
77 |
+
"_np_random": "Generator(PCG64)"
|
78 |
+
},
|
79 |
+
"n_envs": 1,
|
80 |
+
"n_steps": 256,
|
81 |
+
"gamma": 0.99,
|
82 |
+
"gae_lambda": 0.94,
|
83 |
+
"ent_coef": 0.0,
|
84 |
+
"vf_coef": 0.5,
|
85 |
+
"max_grad_norm": 0.5,
|
86 |
+
"rollout_buffer_class": {
|
87 |
+
":type:": "<class 'abc.ABCMeta'>",
|
88 |
+
":serialized:": "gAWVNgAAAAAAAACMIHN0YWJsZV9iYXNlbGluZXMzLmNvbW1vbi5idWZmZXJzlIwNUm9sbG91dEJ1ZmZlcpSTlC4=",
|
89 |
+
"__module__": "stable_baselines3.common.buffers",
|
90 |
+
"__annotations__": "{'observations': <class 'numpy.ndarray'>, 'actions': <class 'numpy.ndarray'>, 'rewards': <class 'numpy.ndarray'>, 'advantages': <class 'numpy.ndarray'>, 'returns': <class 'numpy.ndarray'>, 'episode_starts': <class 'numpy.ndarray'>, 'log_probs': <class 'numpy.ndarray'>, 'values': <class 'numpy.ndarray'>}",
|
91 |
+
"__doc__": "\n Rollout buffer used in on-policy algorithms like A2C/PPO.\n It corresponds to ``buffer_size`` transitions collected\n using the current policy.\n This experience will be discarded after the policy update.\n In order to use PPO objective, we also store the current value of each state\n and the log probability of each taken action.\n\n The term rollout here refers to the model-free notion and should not\n be used with the concept of rollout used in model-based RL or planning.\n Hence, it is only involved in policy and value function training but not action selection.\n\n :param buffer_size: Max number of element in the buffer\n :param observation_space: Observation space\n :param action_space: Action space\n :param device: PyTorch device\n :param gae_lambda: Factor for trade-off of bias vs variance for Generalized Advantage Estimator\n Equivalent to classic advantage when set to 1.\n :param gamma: Discount factor\n :param n_envs: Number of parallel environments\n ",
|
92 |
+
"__init__": "<function RolloutBuffer.__init__ at 0x1439ed7e0>",
|
93 |
+
"reset": "<function RolloutBuffer.reset at 0x1439ed870>",
|
94 |
+
"compute_returns_and_advantage": "<function RolloutBuffer.compute_returns_and_advantage at 0x1439ed900>",
|
95 |
+
"add": "<function RolloutBuffer.add at 0x1439ed990>",
|
96 |
+
"get": "<function RolloutBuffer.get at 0x1439eda20>",
|
97 |
+
"_get_samples": "<function RolloutBuffer._get_samples at 0x1439edab0>",
|
98 |
+
"__abstractmethods__": "frozenset()",
|
99 |
+
"_abc_impl": "<_abc._abc_data object at 0x1439f0a00>"
|
100 |
+
},
|
101 |
+
"rollout_buffer_kwargs": {},
|
102 |
+
"batch_size": 64,
|
103 |
+
"n_epochs": 4,
|
104 |
+
"clip_range": {
|
105 |
+
":type:": "<class 'function'>",
|
106 |
+
":serialized:": "gAWVaQUAAAAAAACMF2Nsb3VkcGlja2xlLmNsb3VkcGlja2xllIwOX21ha2VfZnVuY3Rpb26Uk5QoaACMDV9idWlsdGluX3R5cGWUk5SMCENvZGVUeXBllIWUUpQoSwFLAEsASwFLA0sTQwx0AIgAfACDAYMBUwCUToWUjAVmbG9hdJSFlIwScHJvZ3Jlc3NfcmVtYWluaW5nlIWUjF8vVXNlcnMvcXVlbnRpbmdhbGxvdWVkZWMvZW52X3RtcC9saWIvcHl0aG9uMy4xMC9zaXRlLXBhY2thZ2VzL3N0YWJsZV9iYXNlbGluZXMzL2NvbW1vbi91dGlscy5weZSMCDxsYW1iZGE+lEthQwIMAJSMDnZhbHVlX3NjaGVkdWxllIWUKXSUUpR9lCiMC19fcGFja2FnZV9flIwYc3RhYmxlX2Jhc2VsaW5lczMuY29tbW9ulIwIX19uYW1lX1+UjB5zdGFibGVfYmFzZWxpbmVzMy5jb21tb24udXRpbHOUjAhfX2ZpbGVfX5SMXy9Vc2Vycy9xdWVudGluZ2FsbG91ZWRlYy9lbnZfdG1wL2xpYi9weXRob24zLjEwL3NpdGUtcGFja2FnZXMvc3RhYmxlX2Jhc2VsaW5lczMvY29tbW9uL3V0aWxzLnB5lHVOTmgAjBBfbWFrZV9lbXB0eV9jZWxslJOUKVKUhZR0lFKUaACMEl9mdW5jdGlvbl9zZXRzdGF0ZZSTlGghfZR9lChoGGgPjAxfX3F1YWxuYW1lX1+UjCFnZXRfc2NoZWR1bGVfZm4uPGxvY2Fscz4uPGxhbWJkYT6UjA9fX2Fubm90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
"normalize_advantage": true,
|
110 |
+
"target_kl": null,
|
111 |
+
"lr_schedule": {
|
112 |
+
":type:": "<class 'function'>",
|
113 |
+
":serialized:": "gAWVrwMAAAAAAACMF2Nsb3VkcGlja2xlLmNsb3VkcGlja2xllIwOX21ha2VfZnVuY3Rpb26Uk5QoaACMDV9idWlsdGluX3R5cGWUk5SMCENvZGVUeXBllIWUUpQoSwFLAEsASwFLA0sTQwx0AIgAfACDAYMBUwCUToWUjAVmbG9hdJSFlIwScHJvZ3Jlc3NfcmVtYWluaW5nlIWUjF8vVXNlcnMvcXVlbnRpbmdhbGxvdWVkZWMvZW52X3RtcC9saWIvcHl0aG9uMy4xMC9zaXRlLXBhY2thZ2VzL3N0YWJsZV9iYXNlbGluZXMzL2NvbW1vbi91dGlscy5weZSMCDxsYW1iZGE+lEthQwIMAJSMDnZhbHVlX3NjaGVkdWxllIWUKXSUUpR9lCiMC19fcGFja2FnZV9flIwYc3RhYmxlX2Jhc2VsaW5lczMuY29tbW9ulIwIX19uYW1lX1+UjB5zdGFibGVfYmFzZWxpbmVzMy5jb21tb24udXRpbHOUjAhfX2ZpbGVfX5SMXy9Vc2Vycy9xdWVudGluZ2FsbG91ZWRlYy9lbnZfdG1wL2xpYi9weXRob24zLjEwL3NpdGUtcGFja2FnZXMvc3RhYmxlX2Jhc2VsaW5lczMvY29tbW9uL3V0aWxzLnB5lHVOTmgAjBBfbWFrZV9lbXB0eV9jZWxslJOUKVKUhZR0lFKUaACMEl9mdW5jdGlvbl9zZXRzdGF0ZZSTlGghfZR9lChoGGgPjAxfX3F1YWxuYW1lX1+UjCFnZXRfc2NoZWR1bGVfZm4uPGxvY2Fscz4uPGxhbWJkYT6UjA9fX2Fubm90YXRpb25zX1+UfZSMDl9fa3dkZWZhdWx0c19flE6MDF9fZGVmYXVsdHNfX5ROjApfX21vZHVsZV9flGgZjAdfX2RvY19flE6MC19fY2xvc3VyZV9flGgAjApfbWFrZV9jZWxslJOUaAIoaAcoSwFLAEsASwFLAUsTQwSIAFMAlGgJKYwBX5SFlGgOjARmdW5jlEuFQwIEAZSMA3ZhbJSFlCl0lFKUaBVOTmgdKVKUhZR0lFKUaCNoPX2UfZQoaBhoNGgmjBljb25zdGFudF9mbi48bG9jYWxzPi5mdW5jlGgofZRoKk5oK05oLGgZaC1OaC5oMEc/M6kqMFUyYYWUUpSFlIwXX2Nsb3VkcGlja2xlX3N1Ym1vZHVsZXOUXZSMC19fZ2xvYmFsc19flH2UdYaUhlIwhZRSlIWUaEVdlGhHfZR1hpSGUjAu"
|
114 |
+
}
|
115 |
+
}
|
ppo-Acrobot-v1/policy.optimizer.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:551e18b187e3917204f3030831a2fbd732b1f1e61bca13310e9fa1872d543766
|
3 |
+
size 85418
|
ppo-Acrobot-v1/policy.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27dffbcd43b928e8ed051a4e5b522c6b5f73bce55f7053af4236e6796ca300e8
|
3 |
+
size 42354
|
ppo-Acrobot-v1/pytorch_variables.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ebdad4b9cfe9cd22a3abadb5623bf7bb1f6eb2e408740245eb3f2044b0adc018
|
3 |
+
size 864
|
ppo-Acrobot-v1/system_info.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
- OS: macOS-14.4.1-x86_64-i386-64bit Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:41 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T8103
|
2 |
+
- Python: 3.10.14
|
3 |
+
- Stable-Baselines3: 2.3.2
|
4 |
+
- PyTorch: 2.2.2
|
5 |
+
- GPU Enabled: False
|
6 |
+
- Numpy: 1.26.4
|
7 |
+
- Cloudpickle: 3.0.0
|
8 |
+
- Gymnasium: 0.29.1
|
replay.mp4
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:faad7056e9bcb49445788628f2435b57ab02ec0641d6d8bcb1057a5c802d9606
|
3 |
+
size 844511
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"mean_reward": -71.6, "std_reward": 7.102112361825882, "is_deterministic": true, "n_eval_episodes": 10, "eval_datetime": "2024-05-15T12:38:11.571992"}
|
train_eval_metrics.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0b64875b07f31161bb1b9e15223008ab73dc659129c80d3c00b35344fe52a3cc
|
3 |
+
size 257256
|
vec_normalize.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f74d2d563dd7cddabbccbfa3a0cdd0fbbec5e015085b9e146cd169f184d11c2e
|
3 |
+
size 2379
|