ScheiklP / sofa_zoo

Reinforcement learning scripts for sofa_env environments.
MIT License
5 stars 5 forks source link

AssertionError: The render_mode must be 'rgb_array', not None #1

Closed ziyao-hhs closed 6 months ago

ziyao-hhs commented 9 months ago

HI, when I execute python3 reach/ppo.py, I received an error says image can I do anything to solve this?

ScheiklP commented 9 months ago

Hi @ziyao-hhs, in the newest release, stable-baselines has changed over to gymnasium in favor of gym.

I will change the required version of stable-baselines in setup.py to version v1.8.0, until I also migrate sofa_env and sofa_zoo to gymnasium.

Let me know, if that solves your issue.

Cheers, Paul