mirror of
https://github.com/saymrwulf/stable-baselines3.git
synced 2026-11-18 09:54:10 +00:00
Fix cmd_util.py imports (#24)
* fix cmd_util.py imports * Update changelog.rst Co-authored-by: Antonin RAFFIN <antonin.raffin@ensta.org>
This commit is contained in:
parent
91adefdb4b
commit
b1322ff5d6
5 changed files with 6 additions and 6 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
.. _cmd_utils:
|
.. _cmd_util:
|
||||||
|
|
||||||
Command Utils
|
Command Utils
|
||||||
=========================
|
=========================
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ Main Features
|
||||||
:caption: Common
|
:caption: Common
|
||||||
|
|
||||||
common/atari_wrappers
|
common/atari_wrappers
|
||||||
common/cmd_utils
|
common/cmd_util
|
||||||
common/distributions
|
common/distributions
|
||||||
common/evaluation
|
common/evaluation
|
||||||
common/env_checker
|
common/env_checker
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ New Features:
|
||||||
- Added env checker (Sync with Stable Baselines)
|
- Added env checker (Sync with Stable Baselines)
|
||||||
- Added ``VecCheckNan`` and ``VecVideoRecorder`` (Sync with Stable Baselines)
|
- Added ``VecCheckNan`` and ``VecVideoRecorder`` (Sync with Stable Baselines)
|
||||||
- Added determinism tests
|
- Added determinism tests
|
||||||
- Added ``cmd_utils`` and ``atari_wrappers``
|
- Added ``cmd_util`` and ``atari_wrappers``
|
||||||
- Added support for ``MultiDiscrete`` and ``MultiBinary`` observation spaces (@rolandgvc)
|
- Added support for ``MultiDiscrete`` and ``MultiBinary`` observation spaces (@rolandgvc)
|
||||||
- Added ``MultiCategorical`` and ``Bernoulli`` distributions for PPO/A2C (@rolandgvc)
|
- Added ``MultiCategorical`` and ``Bernoulli`` distributions for PPO/A2C (@rolandgvc)
|
||||||
|
|
||||||
|
|
@ -228,4 +228,4 @@ And all the contributors:
|
||||||
@XMaster96 @kantneel @Pastafarianist @GerardMaggiolino @PatrickWalter214 @yutingsz @sc420 @Aaahh @billtubbs
|
@XMaster96 @kantneel @Pastafarianist @GerardMaggiolino @PatrickWalter214 @yutingsz @sc420 @Aaahh @billtubbs
|
||||||
@Miffyli @dwiel @miguelrass @qxcv @jaberkow @eavelardev @ruifeng96150 @pedrohbtp @srivatsankrishnan @evilsocket
|
@Miffyli @dwiel @miguelrass @qxcv @jaberkow @eavelardev @ruifeng96150 @pedrohbtp @srivatsankrishnan @evilsocket
|
||||||
@MarvineGothic @jdossgollin @SyllogismRXS @rusu24edward @jbulow @Antymon @seheevic @justinkterry @edbeeching
|
@MarvineGothic @jdossgollin @SyllogismRXS @rusu24edward @jbulow @Antymon @seheevic @justinkterry @edbeeching
|
||||||
@flodorner @KuKuXia @NeoExtended @solliet @mmcenta @richardwu @kinalmehta @rolandgvc
|
@flodorner @KuKuXia @NeoExtended @solliet @mmcenta @richardwu @kinalmehta @rolandgvc @tkelestemur
|
||||||
|
|
|
||||||
|
|
@ -46,7 +46,7 @@ Train a A2C agent on ``CartPole-v1`` using 4 environments.
|
||||||
|
|
||||||
from stable_baselines3 import A2C
|
from stable_baselines3 import A2C
|
||||||
from stable_baselines3.a2c import MlpPolicy
|
from stable_baselines3.a2c import MlpPolicy
|
||||||
from stable_baselines3.common.cmd_utils import make_vec_env
|
from stable_baselines3.common.cmd_util import make_vec_env
|
||||||
|
|
||||||
# Parallel environments
|
# Parallel environments
|
||||||
env = make_vec_env('CartPole-v1', n_envs=4)
|
env = make_vec_env('CartPole-v1', n_envs=4)
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ Train a PPO agent on ``Pendulum-v0`` using 4 environments.
|
||||||
|
|
||||||
from stable_baselines3 import A2C
|
from stable_baselines3 import A2C
|
||||||
from stable_baselines3.ppo import MlpPolicy
|
from stable_baselines3.ppo import MlpPolicy
|
||||||
from stable_baselines3.common.cmd_utils import make_vec_env
|
from stable_baselines3.common.cmd_util import make_vec_env
|
||||||
|
|
||||||
# Parallel environments
|
# Parallel environments
|
||||||
env = make_vec_env('CartPole-v1', n_envs=4)
|
env = make_vec_env('CartPole-v1', n_envs=4)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue