araffin / rl-tutorial-jnrr19

Stable-Baselines tutorial for Journées Nationales de la Recherche en Robotique 2019
MIT License
591 stars 113 forks source link

1_getting_Started.pnby NAmeError: name 'DummyVecEnv' is not defined #8

Closed orkuntanik closed 4 years ago

orkuntanik commented 4 years ago

After manually including the line:

from stable_baselines.common.vec_env.dummy_vec_env import DummyVecEnv

visualize trained agent section now throws:

AttributeError: 'CartPoleEnv' object has no attribute 'num_envs'

araffin commented 4 years ago

Hello, thanks for reporting the issues, both should be fixed now ;)

orkuntanik commented 4 years ago

I should thank you for the great work with stable baselines... Also the lightning quick response :)