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
I was able to reproduce the same error when just attempting to load a pre-trained depRL model with the following script:
Load depRL Baseline for Walking:
importgymimportmyosuiteimportdeprl# we can also change the reset_type of the environment hereenv=gym.make('myoLegWalk-v0', reset_type='random')
policy=deprl.load_baseline(env)
forepinrange(5):
obs, _=env.reset()
foriinrange(1000):
action=policy(obs)
next_obs, reward, done, truncated, info=env.step(action)
env.sim.renderer.render_to_window()
obs=next_obsifdone:
break
Issue: Error Training MyoLeg Agent with depRL
Hello!
I'm running into an error when trying to train the MyoLeg agent with depRL. Specifically, following this example
Steps to Reproduce
Attempt to Train Agent:
Error:
I was able to reproduce the same error when just attempting to load a pre-trained depRL model with the following script:
Load depRL Baseline for Walking:
Error:
raise error.NameNotFound( gym.error.NameNotFound: Environment myoLegWalk doesn't exist.
And this error could be resolved changing the import statement for gym to:
This does fix the issue in the above example script but does not resolve the training error.
I also tried changing the header tab in the configuration myoLegWalk.json file to:
however this didn't fix the issue and returned the same error.
I'm wondering if this has anything to do with a myosuite-gym (or gymnaisum) update? Any help would be greatly appreciated, thanks!
Configuration and Environment
MacOS Configuration:
Linux Configuration:
On Linux, attempting to train the MyoLeg agent yielded:
raise error.UnregisteredEnv('No registered env with id: {}'.format(id)) gym.error.UnregisteredEnv: No registered env with id: myoLegWalk-v0
The text was updated successfully, but these errors were encountered: