Open katahar opened 5 months ago
Hello,
It looks like you're running a newer version of stable baselines3, can you make sure you're using v1.7.0 since SofaGym is not compatible with newer versions at the moment.
I am using V1.7.0
Is there anything else that I should look out for?
(pip show stable_baselines3 output below)
Name: stable-baselines3
Version: 1.7.0
Summary: Pytorch version of Stable Baselines, implementations of reinforcement learning algorithms.
Home-page: https://github.com/DLR-RM/stable-baselines3
Author: Antonin Raffin
Author-email: antonin.raffin@dlr.de
License: MIT
Location: /home/ubuntu20_sofa/.local/lib/python3.8/site-packages
Requires: cloudpickle, gym, importlib-metadata, matplotlib, numpy, pandas, torch
Required-by:
You can check if you're running the correct gym version as well. and what is the numpy version?
I'm using: numpy version 1.24.4 gym version 0.21.0
And to clarify, I am able to run the Catheter Beam example and with learning.
Current configuration: Ubuntu 20.04 Sofa v23.06.00 (From Binary) Python 3.8.10
When running example (python test_env.py -e concentrictuberobot-v0 -ep 100 -s 100), simulation runs successfully, but when throws this error when training (python rl.py -e concentrictuberobot-v0 -a DQN)
Any advice here? I'm pretty sure that I have installed all of the dependencies correctly according to the readme, and this issue is confirmed on multiple installs/machines.