diff --git a/docs/misc/changelog.rst b/docs/misc/changelog.rst index d3b7b3f..726c9ad 100644 --- a/docs/misc/changelog.rst +++ b/docs/misc/changelog.rst @@ -59,6 +59,7 @@ Documentation: - Added SUMO-RL as example project (@LucasAlegre) - Fix docstring of classes in atari_wrappers.py which were inside the constructor (@LucasAlegre) - Added SB3-Contrib page +- Fix bug in the example code of DQN (@AptX395) Pre-Release 0.10.0 (2020-10-28) ------------------------------- @@ -533,4 +534,4 @@ And all the contributors: @flodorner @KuKuXia @NeoExtended @PartiallyTyped @mmcenta @richardwu @kinalmehta @rolandgvc @tkelestemur @mloo3 @tirafesi @blurLake @koulakis @joeljosephjin @shwang @rk37 @andyshih12 @RaphaelWag @xicocaio @diditforlulz273 @liorcohen5 @ManifoldFR @mloo3 @SwamyDev @wmmc88 @megan-klaiber @thisray -@tfederico @hn2 @LucasAlegre +@tfederico @hn2 @LucasAlegre @AptX395 diff --git a/docs/modules/dqn.rst b/docs/modules/dqn.rst index 1d1d5e3..8b97afa 100644 --- a/docs/modules/dqn.rst +++ b/docs/modules/dqn.rst @@ -58,7 +58,7 @@ Example from stable_baselines3 import DQN from stable_baselines3.dqn import MlpPolicy - env = gym.make('Pendulum-v0') + env = gym.make('CartPole-v0') model = DQN(MlpPolicy, env, verbose=1) model.learn(total_timesteps=10000, log_interval=4)