stable-baselines3/docs/guide
Alex Pasquali b702884c23
Removed shared layers in mlp_extractor (#1292)
* Modified actor-critic policies & MlpExtractor class

ActorCriticPolicy:
  - changed type hint of net_arch param: now it's a dict
  - removed check that if features extractor is not shared: no shared layers are allowed in the mlp_extractor regardless of the features extractor
ActorCriticCnnPolicy:
  - changed type hint of net_arch param: now it's a dict
MultiInputActorcriticPolicy:
  - changed type hint of net_arch param: now it's a dict
MlpExtractor:
  - changed type hint of net_arch param: now it's a dict
  - adapted networks creation
  - adapted methods: forward, forward_actor & forward_critic

* Removed shared layers in mlp_extractor

* Updated docs and changelog + reformat

* Updated custom policy tests

* Removed test on deprecation warning for share layers in mlp_extractor

Now shared layers are removed

* Update version

* Update RL Zoo doc

* Fix linter warnings

* Add ruff to Makefile (experimental)

* Add backward compat code and minor updates

* Update tests

* Add backward compatibility

* Fix test

* Improve compat code

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
2023-01-23 14:55:19 +01:00
..
algos.rst Update doc: SB3 Contrib RecurrentPPO (#927) 2022-05-31 18:11:16 +02:00
callbacks.rst Add progress bar callback and argument (#1095) 2022-10-06 18:17:31 +02:00
checking_nan.rst Fix typo in documentation (#1177) 2022-11-15 15:00:03 +01:00
custom_env.rst Standardize the use of from gym import spaces (#1240) 2023-01-02 14:51:11 +01:00
custom_policy.rst Removed shared layers in mlp_extractor (#1292) 2023-01-23 14:55:19 +01:00
developer.rst Stable-Baselines3 v1.0 (#354) 2021-03-17 14:20:31 +01:00
examples.rst Fix outdated load_parameters to set_parameters (#1270) 2023-01-11 14:13:21 +01:00
export.rst Fix support of image like normalized inputs (#1214) 2022-12-20 13:18:28 +01:00
imitation.rst Link to full imitation docs (#1106) 2022-10-10 21:36:30 -07:00
install.rst Fix url in docs (#1000) 2022-08-05 17:54:48 +02:00
integrations.rst env_id consistency in tests (#1224) 2022-12-20 16:01:26 +01:00
migration.rst Deprecate create_eval_env, eval_env and eval_freq parameter (#1082) 2022-10-10 15:39:38 +02:00
quickstart.rst Drop gym.GoalEnv and other minor changes initally from #780 (#1184) 2022-11-28 18:22:31 +01:00
rl.rst Add base doc 2020-05-07 10:10:51 +02:00
rl_tips.rst Updated minor grammar error (#1041) 2022-08-31 18:04:15 +02:00
rl_zoo.rst Removed shared layers in mlp_extractor (#1292) 2023-01-23 14:55:19 +01:00
save_format.rst System info helper (#613) 2021-10-18 10:43:56 +02:00
sb3_contrib.rst Update doc: SB3 Contrib RecurrentPPO (#927) 2022-05-31 18:11:16 +02:00
tensorboard.rst Fix test_vec_normalize.py, test_tensorboard.py and common/monitor.py type hint (#1194) 2023-01-13 18:28:22 +01:00
vec_envs.rst Documentation fixes (#514) 2021-07-18 20:51:41 +02:00