Using MuJoCo in Julia? #694
-
Hello, I've noticed there is a file for gym environments and MuJoCo in ReinforcementLearningEnvironments.jl/3rd_party. However, the source file gym.jl is not included in the module. When including it on my own, it throws errors at various points. Is MuJoCo supported by ReinforcementLearning.jl? If so, is there a special process to activate gym environments? If not, are there plans to do so in the future? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Hi Tyler, MuJoCo used to be supported through PyCall.jl. You need to have it installed in Python first. But I haven't tested for a long time. Another approach is to use https://github.com/Lyceum/MuJoCo.jl directly. It's on the todo list in the next release. #614 |
Beta Was this translation helpful? Give feedback.
-
You are correct, CartPolve-v1 works, and my MuJoCo was installed wrong. Sorry about that. Also, the files are actually loaded here: https://github.com/JuliaReinforcementLearning/ReinforcementLearning.jl/blob/c67a604336923ee9120d75dee74456759860fcda/src/ReinforcementLearningEnvironments/src/ReinforcementLearningEnvironments.jl So I was wrong about that too. Thanks for the help!!!!! |
Beta Was this translation helpful? Give feedback.
You are correct, CartPolve-v1 works, and my MuJoCo was installed wrong. Sorry about that.
Also, the files are actually loaded here: https://github.com/JuliaReinforcementLearning/ReinforcementLearning.jl/blob/c67a604336923ee9120d75dee74456759860fcda/src/ReinforcementLearningEnvironments/src/ReinforcementLearningEnvironments.jl
So I was wrong about that too. Thanks for the help!!!!!