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-MountainCar-v0.zip +3 -0
- ppo-MountainCar-v0/_stable_baselines3_version +1 -0
- ppo-MountainCar-v0/data +115 -0
- ppo-MountainCar-v0/policy.optimizer.pth +3 -0
- ppo-MountainCar-v0/policy.pth +3 -0
- ppo-MountainCar-v0/pytorch_variables.pth +3 -0
- ppo-MountainCar-v0/system_info.txt +9 -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 |
+
- MountainCar-v0
|
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: MountainCar-v0
|
16 |
+
type: MountainCar-v0
|
17 |
+
metrics:
|
18 |
+
- type: mean_reward
|
19 |
+
value: -150.20 +/- 4.96
|
20 |
+
name: mean_reward
|
21 |
+
verified: false
|
22 |
+
---
|
23 |
+
|
24 |
+
# **PPO** Agent playing **MountainCar-v0**
|
25 |
+
This is a trained model of a **PPO** agent playing **MountainCar-v0**
|
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 MountainCar-v0 -orga ArunAIML -f logs/
|
47 |
+
python -m rl_zoo3.enjoy --algo ppo --env MountainCar-v0 -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 MountainCar-v0 -orga ArunAIML -f logs/
|
53 |
+
python -m rl_zoo3.enjoy --algo ppo --env MountainCar-v0 -f logs/
|
54 |
+
```
|
55 |
+
|
56 |
+
## Training (with the RL Zoo)
|
57 |
+
```
|
58 |
+
python -m rl_zoo3.train --algo ppo --env MountainCar-v0 -f logs/
|
59 |
+
# Upload the model and generate video (when possible)
|
60 |
+
python -m rl_zoo3.push_to_hub --algo ppo --env MountainCar-v0 -f logs/ -orga ArunAIML
|
61 |
+
```
|
62 |
+
|
63 |
+
## Hyperparameters
|
64 |
+
```python
|
65 |
+
OrderedDict([('ent_coef', 0.0),
|
66 |
+
('gae_lambda', 0.98),
|
67 |
+
('gamma', 0.99),
|
68 |
+
('n_envs', 16),
|
69 |
+
('n_epochs', 4),
|
70 |
+
('n_steps', 16),
|
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 |
+
- MountainCar-v0
|
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 |
+
- 100000
|
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 |
+
- 20000
|
56 |
+
- - save_replay_buffer
|
57 |
+
- false
|
58 |
+
- - seed
|
59 |
+
- 2484587169
|
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.98
|
6 |
+
- - gamma
|
7 |
+
- 0.99
|
8 |
+
- - n_envs
|
9 |
+
- 16
|
10 |
+
- - n_epochs
|
11 |
+
- 4
|
12 |
+
- - n_steps
|
13 |
+
- 16
|
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-MountainCar-v0.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e80dc8004c1b4906324c31f718d31d3b1ad3261bf5838939cb9eddfe7a18fc6
|
3 |
+
size 140146
|
ppo-MountainCar-v0/_stable_baselines3_version
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
2.3.2
|
ppo-MountainCar-v0/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 0x7084a621caf0>",
|
8 |
+
"_get_constructor_parameters": "<function ActorCriticPolicy._get_constructor_parameters at 0x7084a621cb80>",
|
9 |
+
"reset_noise": "<function ActorCriticPolicy.reset_noise at 0x7084a621cc10>",
|
10 |
+
"_build_mlp_extractor": "<function ActorCriticPolicy._build_mlp_extractor at 0x7084a621cca0>",
|
11 |
+
"_build": "<function ActorCriticPolicy._build at 0x7084a621cd30>",
|
12 |
+
"forward": "<function ActorCriticPolicy.forward at 0x7084a621cdc0>",
|
13 |
+
"extract_features": "<function ActorCriticPolicy.extract_features at 0x7084a621ce50>",
|
14 |
+
"_get_action_dist_from_latent": "<function ActorCriticPolicy._get_action_dist_from_latent at 0x7084a621cee0>",
|
15 |
+
"_predict": "<function ActorCriticPolicy._predict at 0x7084a621cf70>",
|
16 |
+
"evaluate_actions": "<function ActorCriticPolicy.evaluate_actions at 0x7084a621d000>",
|
17 |
+
"get_distribution": "<function ActorCriticPolicy.get_distribution at 0x7084a621d090>",
|
18 |
+
"predict_values": "<function ActorCriticPolicy.predict_values at 0x7084a621d120>",
|
19 |
+
"__abstractmethods__": "frozenset()",
|
20 |
+
"_abc_impl": "<_abc._abc_data object at 0x7084a620be40>"
|
21 |
+
},
|
22 |
+
"verbose": 1,
|
23 |
+
"policy_kwargs": {},
|
24 |
+
"num_timesteps": 100096,
|
25 |
+
"_total_timesteps": 100000,
|
26 |
+
"_num_timesteps_at_start": 0,
|
27 |
+
"seed": 0,
|
28 |
+
"action_noise": null,
|
29 |
+
"start_time": 1723902012561845466,
|
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:": "gAWV9QAAAAAAAACMEm51bXB5LmNvcmUubnVtZXJpY5SMC19mcm9tYnVmZmVylJOUKJaAAAAAAAAAAM64Ab8AAAAAibYRvwAAAACVkAC/AAAAAGlBA78AAAAAhLf3vgAAAACW0fe+AAAAAFhFBL8AAAAA+vXzvgAAAACIqxi/AAAAAFDMCb8AAAAAlajtvgAAAABI7RS/AAAAAHap7r4AAAAAP/YDvwAAAADDvRW/AAAAAO2a074AAAAAlIwFbnVtcHmUjAVkdHlwZZSTlIwCZjSUiYiHlFKUKEsDjAE8lE5OTkr/////Sv////9LAHSUYksQSwKGlIwBQ5R0lFKULg=="
|
40 |
+
},
|
41 |
+
"_episode_num": 0,
|
42 |
+
"use_sde": false,
|
43 |
+
"sde_sample_freq": -1,
|
44 |
+
"_current_progress_remaining": -0.0009600000000000719,
|
45 |
+
"_stats_window_size": 100,
|
46 |
+
"ep_info_buffer": {
|
47 |
+
":type:": "<class 'collections.deque'>",
|
48 |
+
":serialized:": "gAWV4AsAAAAAAACMC2NvbGxlY3Rpb25zlIwFZGVxdWWUk5QpS2SGlFKUKH2UKIwBcpRHwGKAAAAAAACMAWyUS5SMAXSUR0A/fcO9WZJDdX2UKGgGR8BiAAAAAAAAaAdLkGgIR0A/jRbr1M/RdX2UKGgGR8BigAAAAAAAaAdLlGgIR0A/kurIYFaCdX2UKGgGR8BjAAAAAAAAaAdLmGgIR0A/lG6f8MuwdX2UKGgGR8BhoAAAAAAAaAdLjWgIR0A/pINEw35vdX2UKGgGR8BjIAAAAAAAaAdLmWgIR0A/p74i5d4WdX2UKGgGR8BjIAAAAAAAaAdLmWgIR0A/t4d6sySFdX2UKGg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GgIR0BBxDcM3IdVdX2UKGgGR8Bi4AAAAAAAaAdLl2gIR0BBy1c+qzZ6dX2UKGgGR8Bi4AAAAAAAaAdLl2gIR0BBy71yvLX+dX2UKGgGR8BiYAAAAAAAaAdLk2gIR0BB32zfJmuldX2UKGgGR8BjAAAAAAAAaAdLmGgIR0BB4VPN3W4FdX2UKGgGR8BhoAAAAAAAaAdLjWgIR0BB6wXyiEg4dX2UKGgGR8BiQAAAAAAAaAdLkmgIR0BB6181Gb1AdX2UKGgGR8BiQAAAAAAAaAdLkmgIR0BB6qQaJhvzdX2UKGgGR8BiIAAAAAAAaAdLkWgIR0BB61w5vLowdX2UKGgGR8BiIAAAAAAAaAdLkWgIR0BB9S6+WWyDdX2UKGgGR8BigAAAAAAAaAdLlGgIR0BB9pQLux8ldX2UKGgGR8BkoAAAAAAAaAdLpWgIR0BCAgOSW7e3dX2UKGgGR8BiYAAAAAAAaAdLk2gIR0BCCqLS/j82dX2UKGgGR8BiQAAAAAAAaAdLkmgIR0BCDZoPCl7/dX2UKGgGR8BiIAAAAAAAaAdLkWgIR0BCDYKIBRyfdX2UKGgGR8BiYAAAAAAAaAdLk2gIR0BCOxHww0wbdWUu"
|
49 |
+
},
|
50 |
+
"ep_success_buffer": {
|
51 |
+
":type:": "<class 'collections.deque'>",
|
52 |
+
":serialized:": "gAWVIAAAAAAAAACMC2NvbGxlY3Rpb25zlIwFZGVxdWWUk5QpS2SGlFKULg=="
|
53 |
+
},
|
54 |
+
"_n_updates": 1564,
|
55 |
+
"observation_space": {
|
56 |
+
":type:": "<class 'gymnasium.spaces.box.Box'>",
|
57 |
+
":serialized:": "gAWVpAEAAAAAAACMFGd5bW5hc2l1bS5zcGFjZXMuYm94lIwDQm94lJOUKYGUfZQojAVkdHlwZZSMBW51bXB5lIwFZHR5cGWUk5SMAmY0lImIh5RSlChLA4wBPJROTk5K/////0r/////SwB0lGKMDWJvdW5kZWRfYmVsb3eUjBJudW1weS5jb3JlLm51bWVyaWOUjAtfZnJvbWJ1ZmZlcpSTlCiWAgAAAAAAAAABAZRoCIwCYjGUiYiHlFKUKEsDjAF8lE5OTkr/////Sv////9LAHSUYksChZSMAUOUdJRSlIwNYm91bmRlZF9hYm92ZZRoESiWAgAAAAAAAAABAZRoFUsChZRoGXSUUpSMBl9zaGFwZZRLAoWUjANsb3eUaBEolggAAAAAAAAAmpmZvylcj72UaAtLAoWUaBl0lFKUjARoaWdolGgRKJYIAAAAAAAAAJqZGT8pXI89lGgLSwKFlGgZdJRSlIwIbG93X3JlcHKUjA1bLTEuMiAgLTAuMDddlIwJaGlnaF9yZXBylIwLWzAuNiAgMC4wN12UjApfbnBfcmFuZG9tlE51Yi4=",
|
58 |
+
"dtype": "float32",
|
59 |
+
"bounded_below": "[ True True]",
|
60 |
+
"bounded_above": "[ True True]",
|
61 |
+
"_shape": [
|
62 |
+
2
|
63 |
+
],
|
64 |
+
"low": "[-1.2 -0.07]",
|
65 |
+
"high": "[0.6 0.07]",
|
66 |
+
"low_repr": "[-1.2 -0.07]",
|
67 |
+
"high_repr": "[0.6 0.07]",
|
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": 16,
|
81 |
+
"gamma": 0.99,
|
82 |
+
"gae_lambda": 0.98,
|
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 0x7084a654b7f0>",
|
93 |
+
"reset": "<function RolloutBuffer.reset at 0x7084a654b880>",
|
94 |
+
"compute_returns_and_advantage": "<function RolloutBuffer.compute_returns_and_advantage at 0x7084a654b910>",
|
95 |
+
"add": "<function RolloutBuffer.add at 0x7084a654b9a0>",
|
96 |
+
"get": "<function RolloutBuffer.get at 0x7084a654ba30>",
|
97 |
+
"_get_samples": "<function RolloutBuffer._get_samples at 0x7084a654bac0>",
|
98 |
+
"__abstractmethods__": "frozenset()",
|
99 |
+
"_abc_impl": "<_abc._abc_data object at 0x7084a6544fc0>"
|
100 |
+
},
|
101 |
+
"rollout_buffer_kwargs": {},
|
102 |
+
"batch_size": 64,
|
103 |
+
"n_epochs": 4,
|
104 |
+
"clip_range": {
|
105 |
+
":type:": "<class 'function'>",
|
106 |
+
":serialized:": "gAWVgQUAAAAAAACMF2Nsb3VkcGlja2xlLmNsb3VkcGlja2xllIwOX21ha2VfZnVuY3Rpb26Uk5QoaACMDV9idWlsdGluX3R5cGWUk5SMCENvZGVUeXBllIWUUpQoSwFLAEsASwFLA0sTQwx0AIgAfACDAYMBUwCUToWUjAVmbG9hdJSFlIwScHJvZ3Jlc3NfcmVtYWluaW5nlIWUjGUvaG9tZS9hcnVuYWNoYWxhbS9ybC1hZ2VudHMvYWdlbnRzLWVudi9saWIvcHl0aG9uMy4xMC9zaXRlLXBhY2thZ2VzL3N0YWJsZV9iYXNlbGluZXMzL2NvbW1vbi91dGlscy5weZSMCDxsYW1iZGE+lEthQwIMAJSMDnZhbHVlX3NjaGVkdWxllIWUKXSUUpR9lCiMC19fcGFja2FnZV9flIwYc3RhYmxlX2Jhc2VsaW5lczMuY29tbW9ulI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CpOaCtOaCxoPWgtTmguaDBoAihoByhLAUsASwBLAUsBSxNDBIgAUwCUaDIpjAFflIWUaDWMBGZ1bmOUS4VDAgQBlIwDdmFslIWUKXSUUpRoO05OaB0pUpSFlHSUUpRoI2hTfZR9lChoGGhKaCaMGWNvbnN0YW50X2ZuLjxsb2NhbHM+LmZ1bmOUaCh9lGgqTmgrTmgsaD1oLU5oLmgwRz/JmZmZmZmahZRSlIWUjBdfY2xvdWRwaWNrbGVfc3VibW9kdWxlc5RdlIwLX19nbG9iYWxzX1+UfZR1hpSGUjCFlFKUhZRoW12UaF19lHWGlIZSMIWUUpSFlGhbXZRoXX2UdYaUhlIwLg=="
|
107 |
+
},
|
108 |
+
"clip_range_vf": null,
|
109 |
+
"normalize_advantage": true,
|
110 |
+
"target_kl": null,
|
111 |
+
"lr_schedule": {
|
112 |
+
":type:": "<class 'function'>",
|
113 |
+
":serialized:": "gAWVuwMAAAAAAACMF2Nsb3VkcGlja2xlLmNsb3VkcGlja2xllIwOX21ha2VfZnVuY3Rpb26Uk5QoaACMDV9idWlsdGluX3R5cGWUk5SMCENvZGVUeXBllIWUUpQoSwFLAEsASwFLA0sTQwx0AIgAfACDAYMBUwCUToWUjAVmbG9hdJSFlIwScHJvZ3Jlc3NfcmVtYWluaW5nlIWUjGUvaG9tZS9hcnVuYWNoYWxhbS9ybC1hZ2VudHMvYWdlbnRzLWVudi9saWIvcHl0aG9uMy4xMC9zaXRlLXBhY2thZ2VzL3N0YWJsZV9iYXNlbGluZXMzL2NvbW1vbi91dGlscy5weZSMCDxsYW1iZGE+lEthQwIMAJSMDnZhbHVlX3NjaGVkdWxllIWUKXSUUpR9lCiMC19fcGFja2FnZV9flIwYc3RhYmxlX2Jhc2VsaW5lczMuY29tbW9ulIwIX19uYW1lX1+UjB5zdGFibGVfYmFzZWxpbmVzMy5jb21tb24udXRpbHOUjAhfX2ZpbGVfX5SMZS9ob21lL2FydW5hY2hhbGFtL3JsLWFnZW50cy9hZ2VudHMtZW52L2xpYi9weXRob24zLjEwL3NpdGUtcGFja2FnZXMvc3RhYmxlX2Jhc2VsaW5lczMvY29tbW9uL3V0aWxzLnB5lHVOTmgAjBBfbWFrZV9lbXB0eV9jZWxslJOUKVKUhZR0lFKUaACMEl9mdW5jdGlvbl9zZXRzdGF0ZZSTlGghfZR9lChoGGgPjAxfX3F1YWxuYW1lX1+UjCFnZXRfc2NoZWR1bGVfZm4uPGxvY2Fscz4uPGxhbWJkYT6UjA9fX2Fubm90YXRpb25zX1+UfZSMDl9fa3dkZWZhdWx0c19flE6MDF9fZGVmYXVsdHNfX5ROjApfX21vZHVsZV9flGgZjAdfX2RvY19flE6MC19fY2xvc3VyZV9flGgAjApfbWFrZV9jZWxslJOUaAIoaAcoSwFLAEsASwFLAUsTQwSIAFMAlGgJKYwBX5SFlGgOjARmdW5jlEuFQwIEAZSMA3ZhbJSFlCl0lFKUaBVOTmgdKVKUhZR0lFKUaCNoPX2UfZQoaBhoNGgmjBljb25zdGFudF9mbi48bG9jYWxzPi5mdW5jlGgofZRoKk5oK05oLGgZaC1OaC5oMEc/M6kqMFUyYYWUUpSFlIwXX2Nsb3VkcGlja2xlX3N1Ym1vZHVsZXOUXZSMC19fZ2xvYmFsc19flH2UdYaUhlIwhZRSlIWUaEVdlGhHfZR1hpSGUjAu"
|
114 |
+
}
|
115 |
+
}
|
ppo-MountainCar-v0/policy.optimizer.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ccf0548d820ea7b83483733ed49e9464d28851a62e9d93abef087a1bcdd7801f
|
3 |
+
size 81322
|
ppo-MountainCar-v0/policy.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d96cbc8713c273e0a9fd5e9a73deb6eb29982664a186ade7bdc2e6ac5e3dc3d
|
3 |
+
size 40306
|
ppo-MountainCar-v0/pytorch_variables.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c35cea3b2e60fb5e7e162d3592df775cd400e575a31c72f359fb9e654ab00c5
|
3 |
+
size 864
|
ppo-MountainCar-v0/system_info.txt
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
- OS: Linux-6.5.0-45-generic-x86_64-with-glibc2.35 # 45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 15 16:40:02 UTC 2
|
2 |
+
- Python: 3.10.12
|
3 |
+
- Stable-Baselines3: 2.3.2
|
4 |
+
- PyTorch: 2.4.0+cpu
|
5 |
+
- GPU Enabled: False
|
6 |
+
- Numpy: 1.26.4
|
7 |
+
- Cloudpickle: 3.0.0
|
8 |
+
- Gymnasium: 0.29.1
|
9 |
+
- OpenAI Gym: 0.26.2
|
results.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"mean_reward": -150.2, "std_reward": 4.955804677345546, "is_deterministic": true, "n_eval_episodes": 10, "eval_datetime": "2024-08-18T17:13:03.134515"}
|
train_eval_metrics.zip
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed6b01a62bbe2a494da1d4f0a5023065b44bcac87da3dc5c782b96d7188379ab
|
3 |
+
size 17964
|
vec_normalize.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0400556437b82f0a23f4c20890987bf82b36a07e78887534fc8325235183cad5
|
3 |
+
size 1911
|