stanfordnmbl / osim-rl

Reinforcement learning environments with musculoskeletal models
http://osim-rl.stanford.edu/
MIT License
896 stars 249 forks source link

No Module names ProstheticsEnv #223

Closed mcmips closed 4 years ago

mcmips commented 4 years ago

I followed the instructions to install osim-rl on my windows machine. I can get osim-rl and import osim and osim.env is also present

BUT, I can not locate ProstheticsEnv

dir(osim.env) ['Arm2DEnv', 'Arm2DVecEnv', 'L2M2019Env', 'OsimEnv', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec', 'absolute_import', 'arm', 'convert_to_gym', 'gym', 'math', 'np', 'opensim', 'os', 'osim', 'random', 'utils']

from osim.env import ProstheticsEnv Traceback (most recent call last):

File "", line 1, in from osim.env import ProstheticsEnv

ImportError: cannot import name 'ProstheticsEnv'

Please help..

mcmips commented 4 years ago

With Branch Ver2.1 it is working that is i am able to import ProstheticsEnv. Please Confirm..

kidzik commented 4 years ago

Perfect, thanks for finding this. Yes, ProsteticsEnv has been removed after the NeurIPS 2018 challenge to reduce maintenance load. It shouldn't be too much work to make it compatible with the current master though.