mingfeisun / deepmimic_mujoco Goto Github PK
View Code? Open in Web Editor NEWDeepMimic Mujoco version; Python only; No Bullet, No C++
DeepMimic Mujoco version; Python only; No Bullet, No C++
this project required many python dependencies to be installed using pip, but does not list which ones need to be installed.
gym
tensorflow
joblib
mujoco_py Instructions: https://github.com/openai/mujoco-py#install-mujoco
I've tried to run a DeepMimic_mujoco demo on Windows 10 using conda with python 3.6
Here is what happens when I try to run env _torque_test.py
(base) C:\Users\Utilisateur\Desktop\DeepMimic_mujoco-master\src>py env_torque_test.py
running build_ext
building 'mujoco_py.cymj' extension
Traceback (most recent call last):
File "env_torque_test.py", line 2, in
from dp_env_v3 import DPEnv
File "C:\Users\Utilisateur\Desktop\DeepMimic_mujoco-master\src\dp_env_v3.py", line 10, in
from mujoco_py import load_model_from_xml, MjSim, MjViewer
File "c:\users\utilisateur\desktop\mujoco-py-1.50.1.0\mujoco_py_init_.py", line 1, in
from mujoco_py.builder import cymj, ignore_mujoco_warnings, functions, MujocoException
File "c:\users\utilisateur\desktop\mujoco-py-1.50.1.0\mujoco_py\builder.py", line 283, in
cymj = load_cython_ext(mjpro_path)
File "c:\users\utilisateur\desktop\mujoco-py-1.50.1.0\mujoco_py\builder.py", line 54, in load_cython_ext
cext_so_path = builder.build()
File "c:\users\utilisateur\desktop\mujoco-py-1.50.1.0\mujoco_py\builder.py", line 131, in build
dist.run_commands()
File "C:\Users\Utilisateur\Anaconda3\lib\distutils\dist.py", line 955, in run_commands
self.run_command(cmd)
File "C:\Users\Utilisateur\Anaconda3\lib\distutils\dist.py", line 974, in run_command
cmd_obj.run()
File "C:\Users\Utilisateur\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 186, in run
_build_ext.build_ext.run(self)
File "C:\Users\Utilisateur\Anaconda3\lib\distutils\command\build_ext.py", line 339, in run
self.build_extensions()
File "c:\users\utilisateur\desktop\mujoco-py-1.50.1.0\mujoco_py\builder.py", line 75, in build_extensions
build_ext.build_extensions(self)
File "C:\Users\Utilisateur\Anaconda3\lib\site-packages\Cython\Distutils\old_build_ext.py", line 194, in build_extensions
self.build_extension(ext)
File "C:\Users\Utilisateur\Anaconda3\lib\distutils\command\build_ext.py", line 533, in build_extension
depends=ext.depends)
File "C:\Users\Utilisateur\Anaconda3\lib\distutils_msvccompiler.py", line 304, in compile
self.initialize()
File "C:\Users\Utilisateur\Anaconda3\lib\distutils_msvccompiler.py", line 197, in initialize
vc_env = _get_vc_env(plat_spec)
File "C:\Users\Utilisateur\Anaconda3\lib\distutils_msvccompiler.py", line 85, in _get_vc_env
raise DistutilsPlatformError("Unable to find vcvarsall.bat")
distutils.errors.DistutilsPlatformError: Unable to find vcvarsall.bat
Any help would be great !
Thanks for your great work, could you please offer some details about how to design the reward function for the task of spinkick?
As the title tells, I'm curious about this. Since I'm trying to transform the deepmimic character file into urdf format, searching for some methods.
Is there any way that I can convert your deepmimic mujoco xml to the format that can be loaded into unity3D? How should I do that?
I run the code successfuly.However,the agent can not walk ,run after training.Do I miss anything?
Any help would be great !
Thanks for your great work!
I followed #3 to replicate the results but failed. I am wondering what I am doing wrong. Could you post your hyper-params of trpo? I think that will help a lot.
Hello
I have recently installed and started training with this system.
The robot shape and mass was modified in the .xml file to match with the robot in our lab.
For starting the training, in the dp_env_v3.py file, and in the step function:
I have been trying to train a robot to walk with:
mpirun --allow-run-as-root -np 32 python3 trpo.py
(my cpu has 32 threads)
After 1 million time steps, it usually does something to slowly fall forwards. or stand still. Any tips for training?
Have you successfully trained walking or other advanced moves with this set of code?
Hello! When I run the dp_env_v3.py, there is a mistake.
mujoco_env.MujocoEnv.__init__(self, xml_file_path, 1)
TypeError: __init__() missing 1 required positional argument: 'observation_space'
My Mujoco is 2.1.0 and the mujoco-py is 2.1.2.14.
Is it a version issue?
Any help would be great !
And I would like to know if OpenGL3.3 needs to be installed on a Linux server to run this code.
Although the server is equipped with RTX 3080 and graphics card driver 510.47.03, my server can still only install OpenGL3.1 Mesa 21.2.6. Is this a problem with graphics card drivers? Is there anything else I need to do to upgrade OpenGL version to 3.2 or higher?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.