Skip to content

Commit

Permalink
Add support for RMSpropTFLike (araffin#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
araffin committed Aug 4, 2020
1 parent b817a2b commit c9d3081
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Release 0.8.0a6 (WIP)
## Release 0.8.0 (2020-08-04)

### Breaking Changes

Expand All @@ -10,6 +10,7 @@
- Added saving of command line args (@SammyRamone)
- Added DDPG support
- Added version
- Added ``RMSpropTFLike`` support

### Bug fixes
- Fixed optuna warning (@SammyRamone)
Expand Down
1 change: 1 addition & 0 deletions hyperparams/a2c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ atari:
n_timesteps: !!float 1e7
ent_coef: 0.01
vf_coef: 0.25
policy_kwargs: "dict(optimizer_class=RMSpropTFLike)"

CartPole-v1:
n_envs: 8
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
stable-baselines3[extra,tests,docs]>=0.8.0a1
stable-baselines3[extra,tests,docs]>=0.8.0
box2d-py==2.3.5
pybullet
gym-minigrid
Expand Down
1 change: 1 addition & 0 deletions train.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from stable_baselines3.common.callbacks import CheckpointCallback, EvalCallback
from stable_baselines3.common.noise import NormalActionNoise, OrnsteinUhlenbeckActionNoise
from stable_baselines3.common.preprocessing import is_image_space
from stable_baselines3.common.sb2_compat.rmsprop_tf_like import RMSpropTFLike # noqa: F401
from stable_baselines3.common.utils import constant_fn, set_random_seed

# from stable_baselines3.common.cmd_util import make_atari_env
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.0a6
0.8.0

0 comments on commit c9d3081

Please sign in to comment.