You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception has occurred: ImportError
You must install tqdm and rich in order to use the progress bar callback. It is included if you install stable-baselines with the extra packages: `pip install stable-baselines3[extra]`
File "/home/sjw/lux/sb3_tutorial/basic_train_save_load.py", line 9, in<module>
model.learn(total_timesteps=int(200), progress_bar=True)
ImportError: You must install tqdm and rich in order to use the progress bar callback. It is included if you install stable-baselines with the extra packages: `pip install stable-baselines3[extra]`
Hello,
thanks for reporting the issue, the docker image is indeed outdated.
Best is to either install tqdm in the container and save a local image (snapshot), or build the image from the repo.
🐛 Bug
After install tqdm, model.learn with profress_bar occur ImportError
"model.learn(total_timesteps=int(200), progress_bar=True)"
To Reproduce
Relevant log output / Error message
System Info
docker : stablebaselines/stable-baselines3
GPU: RTX 3090
CUDA : 11.7
Python : 3.7.13
PyTorch : 1.11.0
Gym : 0.21.0
Checklist
The text was updated successfully, but these errors were encountered: