Deep Reinforcement Learning FrameWorks for OpenSim Model

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
akhil s anand
Posts: 4
Joined: Tue Apr 17, 2018 4:21 am

Deep Reinforcement Learning FrameWorks for OpenSim Model

Post by akhil s anand » Tue Apr 17, 2018 4:50 am

Hello,

I am looking for implementing deep reinforcement learning algorithms on lower limb exoskeleton model developed using OpenSim. Please guide me regarding a feasible deep RL framework which I can integrate with OpenSim for the task.

Regards,
Akhil

User avatar
Dimitar Stanev
Posts: 1096
Joined: Fri Jan 31, 2014 5:14 am

Re: Deep Reinforcement Learning FrameWorks for OpenSim Model

Post by Dimitar Stanev » Tue Apr 17, 2018 11:47 pm

This may be of some relevance

https://github.com/stanfordnmbl/osim-rl

User avatar
akhil s anand
Posts: 4
Joined: Tue Apr 17, 2018 4:21 am

Re: Deep Reinforcement Learning FrameWorks for OpenSim Model

Post by akhil s anand » Wed Apr 18, 2018 1:27 am

hello Dimitar Stanev,

Thank you very much for the reply, I have seen the page and. I am not clear about how keras is communicating with OpenSim. I am a beginner in both Deep RL and OpenSim modelling, Could you enlighten me on this and is it very feasible for any OpenSim models?

Regards,
Akhil

User avatar
Łukasz Kidziński
Posts: 1
Joined: Wed Feb 03, 2016 7:38 am

Re: Deep Reinforcement Learning FrameWorks for OpenSim Model

Post by Łukasz Kidziński » Wed Apr 18, 2018 4:45 pm

Hi Akhil,

in the current version of osim-rl you can create a RL environment from any OpenSim model.
Here is one example https://github.com/stanfordnmbl/osim-rl ... les/arm.py but in principle you can make it even simpler -- just setting the model_path in the new class should be enough to have OpenAI gym compatibility of your OpenSim model.
Once it's in that form the OpenSim RL environment will have two functions: reset() and set(). In that form, you can already use OpenAI RL baselines https://github.com/openai/baselines or other implementations, ex. https://github.com/rll/rllab or https://github.com/keras-rl/keras-rl
You will find more information in the README of our repo https://github.com/stanfordnmbl/osim-rl

Best,
Lukasz

User avatar
akhil s anand
Posts: 4
Joined: Tue Apr 17, 2018 4:21 am

Re: Deep Reinforcement Learning FrameWorks for OpenSim Model

Post by akhil s anand » Thu Apr 19, 2018 6:57 am

hello Lukasz,

Thank you very much for the details. I am bit curios to know, if you are performing any kind of pre processing or additional settings on the OpenSim models to use it with osim-rl.

Regards,
Akhil

POST REPLY