Closed stefanwanckel closed 3 years ago
Hi Stefan,
Yes this error is due to your environment not being registered. I'm assuming that you know how to implement custom Gym environments. If not, please have a look here.
There is no need to modify site-packages/gym/envs to add your custom environment to rl_reach. Here are the steps you should follow:
pip install -e .
import gym
import widowx_env
env = gym.make('ur5e_reacher-v1')
Hope this helps
Note that the step() function in your custom environment should return the same info as in the widowx env, otherwise some evaluation scripts might return an error.
Thanks for your help! It worked.
Glad to hear that
When attempting to evaluate the my her-td3 model I get the following error:
I suppose that the main error is:
KeyError: 'ur5e_reacher-v1'
and the remaining errors are followup errors.Is it necessary to put the environment folder (in my case ur5e_env) containing the environment class, urdf files, etc into site-packages/gym/envs or is there a way to add my environment to the registry from the original folder structure?
I would be happy to get some help. Thanks.