stable-baselines3/docs/guide
Alex Pasquali 2cfcec4f50
Modified ActorCriticPolicy to support non-shared features extractor (#1148)
* Modified ActorCriticPolicy to support non-shared features extractor

* Refactored features extraction with non-shared features extractor in ActorCriticPolicy and updated doc

Doc update: added 'warning' on custom policy docs that says that, if the features extractor is non-shared, it's not possible to have shared layers in the mlp_extractor

* Moved attrib share_features_extractor in class

* Updated custom policy doc for non-shared features extractor

* Updated changelog

* Made some if-statements more readable if policies.py

The if-statements are related to the shared/non-shared features extractor in ActorCritic policies

* Simplify implementation and add run test

* Keep order in module gain to keep previous results consistents

* Fix test

* Improved docstring in policies.py

Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>

* Added some tests

* feature extractor -> features extractor

* Fix test

* Fix env_id in test

* Make features extractor parameter explicit

* Remove duplicate

Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
Co-authored-by: Antonin Raffin <antonin.raffin@dlr.de>
2022-12-20 15:12:05 +01:00
..
algos.rst
callbacks.rst
checking_nan.rst Fix typo in documentation (#1177) 2022-11-15 15:00:03 +01:00
custom_env.rst Fix support of image like normalized inputs (#1214) 2022-12-20 13:18:28 +01:00
custom_policy.rst Modified ActorCriticPolicy to support non-shared features extractor (#1148) 2022-12-20 15:12:05 +01:00
developer.rst
examples.rst Fix support of image like normalized inputs (#1214) 2022-12-20 13:18:28 +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
integrations.rst Fix integration documentation (#1135) 2022-10-24 13:20:58 +02:00
migration.rst
quickstart.rst Drop gym.GoalEnv and other minor changes initally from #780 (#1184) 2022-11-28 18:22:31 +01:00
rl.rst
rl_tips.rst
rl_zoo.rst Release v1.6.2 (#1103) 2022-10-10 16:37:11 +02:00
save_format.rst
sb3_contrib.rst
tensorboard.rst
vec_envs.rst