Closed Hardwarize closed 1 week ago
I've managed to fix the isuue replacing env = EnvironmentFactory.register(ENV_NAME, **env_config)
by env = EnvironmentFactory.create(ENV_NAME, **env_config)
. Now there is a new error that says AttributeError: 'CustomBaodingP2Env' object has no attribute 'render_mode'
Hi, sorry for the late reply. Indeed the code had a naming problem for the creation method, it should be fixed with the latest commit.
Regarding the AttributeError, can you please verify that
pip list | grep MyoSuite
returns version 1.2.3
and
pip list | grep gym
returns version 0.13.0?
With these versions there should be no 'render_mode' problem.
Trying to run src/main_baoding.py I find the following errror:
AttributeError: type object 'EnvironmentFactory' has no attribute 'register'
I have installed the packages from requirements.txt, although I had to remove the ones that were causing errors from the file, specifically those that have a path in the requirements.txt file, such as 'asttokens' or 'backcall', as they generate errors during the installation.
Thanks