Closed littlefiveRobot closed 2 years ago
(maple) summer@xxw-OMEN:~/robosuite_maple$ python robosuite/demos/demo_random_action.py
Traceback (most recent call last):
File "robosuite/demos/demo_random_action.py", line 1, in
_libgcc_mutex 0.1 main
absl-py 0.12.0
astunparse 1.6.3
attrs 21.4.0 pyhd3eb1b0_0
attrs 20.2.0
bleach 3.3.0 pyhd3eb1b0_0
ca-certificates 2021.1.19 h06a4308_1
cachetools 4.2.1
cffi 1.14.2
chardet 3.0.4
decorator 4.4.2 pyhd3eb1b0_0
defusedxml 0.7.1 pyhd3eb1b0_0
deprecation 2.1.0
expat 2.3.0 h2531618_2
fasteners 0.15
freetype 2.10.4 h5ab3b9f_0
future 0.18.2
google-api-core 1.26.0
gstreamer 1.14.0 h28cd5cc_2
gtimer 1.0.0b5
idna 2.10
importlib_metadata 3.7.3 hd3eb1b0_1
ipykernel 5.3.4 py38h5ca1d4c_0
ipython 7.22.0 py38hb070fc8_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 7.6.3 pyhd3eb1b0_1
itsdangerous 1.1.0
Jinja2 2.11.2
joblib 1.0.1
json5 0.9.6
jupyter 1.0.0 py38_7
jupyter-core 4.6.3
jupyter_console 6.4.0 pyhd3eb1b0_0
jupyter_core 4.7.1 py38h06a4308_0
jupyterlab 3.1.12
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
keras 2.6.0
libedit 3.1.20191231 h14c3975_1
libffi 3.3 he6710b0_2
libgcc-ng 9.1.0 hdf63c60_0
libpng 1.6.37 hbc83047_0
libsodium 1.0.18 h7b6447c_0
libstdcxx-ng 9.1.0 hdf63c60_0
libuuid 1.0.3 h1bed415_2
libxcb 1.14 h7b6447c_0
libxml2 2.9.10 hb55368b_3
llvmlite 0.32.1
matplotlib 3.4.3
monotonic 1.5
nbconvert 6.0.7 py38_0
nbformat 5.0.8
ncurses 6.2 he6710b0_1
nest-asyncio 1.5.1 pyhd3eb1b0_0
networkx 2.6.2
numba 0.49.1
opt-einsum 3.3.0
pandas 1.3.3
pandocfilters 1.4.3 py38h06a4308_1
parso 0.8.1 pyhd3eb1b0_0
pcre 8.44 he6710b0_0
pexpect 4.8.0 pyhd3eb1b0_3
pickleshare 0.7.5 pyhd3eb1b0_1003
Pillow 8.3.2
plotly 3.4.2
prompt-toolkit 3.0.17 pyh06a4308_0
prompt_toolkit 3.0.17 hd3eb1b0_0
protobuf 3.14.0
pyasn1 0.4.8
pyglet 1.5.0
pyparsing 2.4.7 pyhd3eb1b0_0
pyqt 5.9.2 py38h05f1152_4
pyrsistent 0.17.3 py38h7b6447c_0
python 3.8.5 h7579374_1
python-dateutil 2.8.1 pyhd3eb1b0_0
python-utils 2.5.6
qt 5.9.7 h5867ecd_1
qtconsole 5.0.3 pyhd3eb1b0_0
qtpy 1.9.0 py_0
readline 8.0 h7b6447c_0
requests 2.24.0
setuptools 49.6.0 py38_0
sip 4.19.13 py38he6710b0_0
six 1.15.0 py38h06a4308_0
smmap 3.0.5
tensorboard 2.6.0
testpath 0.4.4 pyhd3eb1b0_0
threadpoolctl 2.2.0
tomlkit 0.7.2
tqdm 4.61.1
typing-extensions 3.7.4.3
webencodings 0.5.1 py38_1
websocket-client 1.2.1
wheel 0.37.0
wrapt 1.12.1
zeromq 4.3.4 h2531618_0
zipp 3.4.1 pyhd3eb1b0_0
zlib 1.2.11 h7b6447c_3
Hi Xia,
Thanks for bringing this up to our attention. Seems like other mujoco_py
users have had a similar issue: https://github.com/openai/mujoco-py/issues/607
That thread suggests three possible solutions:
pip install numpy==1.20.0
pip install mujoco_py==2.0.2.5
pip install mujoco-py==2.0.2.9 --no-cache-dir --no-binary :all: --no-build-isolation
Do any of these help solve the issue?
Soroush
Oh,yes! I solved it by your third suggest(pip install mujoco-py==2.0.2.9 --no-cache-dir --no-binary :all: --no-build-isolation),thank you very much! Thank you for answering me!You are a good man haha! But it comes a new bug that is TypeError: 'NoneType' object is not iterable,I think it is also caused by env or a small mistake.Did you encounter this problem? Hope for your answer !
(maple) summer@xxw-OMEN:~/robosuite_maple$ python robosuite/demos/demo_random_action.py Welcome to robosuite v1.1.0!
; / ,--.
["] ["] ,< |__**|
/[_]\ [~]\/ |// |
] [ OOO /o|__|
Here is a list of environments in the suite:
[0] Cleanup [1] Door [2] Lift [3] NutAssembly [4] NutAssemblyRound [5] NutAssemblySingle [6] NutAssemblySquare [7] PegInHole [8] PickPlace [9] PickPlaceBread [10] PickPlaceCan [11] PickPlaceCereal [12] PickPlaceMilk [13] PickPlaceSingle [14] Stack [15] Wipe
Choose an environment to run (enter a number from 0 to 15): 0 Here is a list of available robots:
[0] IIWA [1] Jaco [2] Kinova3 [3] Panda [4] Sawyer [5] UR5e
Choose a robot (enter a number from 0 to 5): 2 Here is a list of controllers in the suite:
[0] JOINT_VELOCITY - Joint Velocity [1] JOINT_TORQUE - Joint Torque [2] JOINT_POSITION - Joint Position [3] OSC_POSITION - Operational Space Control (Position Only) [4] OSC_POSE - Operational Space Control (Position + Orientation) [5] OSC_POSITION_YAW - Operational Space Control (Position + Yaw) [6] IK_POSE - Inverse Kinematics Control (Position + Orientation) (Note: must have PyBullet installed)
Choose a controller for the robot (enter a number from 0 to 6): 2
Press "H" to show the viewer control panel.
Traceback (most recent call last):
File "robosuite/demos/demo_random_action.py", line 50, in
And if I change my mujoco_py to version 2.0.2.5,it faces the same question.(I'm a novice)
Hi Xia,
Great to hear that the mujoco_py issue was resolved. Regarding the new issue that you mentioned -- that script demo_random_action.py
hasn't been updated to work with the MAPLE framework, so the error is expected. In fact many of the programs under robosuite/demos
and robosuite/scripts
are probably stale and are not compatible with MAPLE. In the future I will address these issues. For now, robosuite/scripts/collect_human_demonstrations.py
does work, and it allows you to interactively play with the environment. Let me know if this specific script brings any issues for you.
Soroush
Dear Soroush,
I am very glad to hear from you.Thank you for your patience and thoughtful answer.I had known what you expressed.So I run the code robosuite/scripts/collect_human_demonstrations.py ,it does work,which verified that my robosuite environment is OK.
To be honest,I'm a 1st year master student and interested in your paper Augmenting Reinforcement Learning with Behavior Primitives for Diverse Manipulation Tasks . So I want to run it,But I still encounter a question.I had tried to solve it. I see stochastic file in maple/torch/networks but why in the build/lib/maple/torch/networks I can't find stochastic, I followed your README.md to install maple==0.2.1.dev0 .Is there something wrong with me?Maybe I still need your help.
Xia Xiaowu
(maple) summer@xxw-OMEN:~/maple$ python scripts/train.py --env stack
No personal conf_private.py found.
doodad not detected
Traceback (most recent call last):
File "scripts/train.py", line 4, in
Did you try pip install -e .
in the root directory of this repository? This is important. If you do this, I think everything will work. But if you run pip maple==0.2.1.dev0
I don't think this will work. So I'd suggest uninstalling the maple repo, and reinstalling by running pip install -e .
from the root folder of the maple repo.
Dear Robosuite team,
Dear Robosuite team,
I have tried the three ways you have suggested. However, I need help solving the problem. The output when I perform the order "env = gym.make('Safexp-PointGoal1-v0')" is
Traceback (most recent call last):
File "
The other two orders can't work well also. And the packages I installed are:
_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
ca-certificates 2023.05.30 h06a4308_0
cffi 1.15.1 pypi_0 pypi
cloudpickle 1.2.2 pypi_0 pypi
cython 0.29.36 pypi_0 pypi
fasteners 0.18 pypi_0 pypi
future 0.18.3 pypi_0 pypi
glfw 2.6.2 pypi_0 pypi
gym 0.15.7 pypi_0 pypi
imageio 2.31.1 pypi_0 pypi
joblib 0.14.1 pypi_0 pypi
ld_impl_linux-64 2.38 h1181459_1
libffi 3.3 he6710b0_2
libgcc-ng 11.2.0 h1234567_1
libgomp 11.2.0 h1234567_1
libstdcxx-ng 11.2.0 h1234567_1
mujoco-py 2.0.2.7 pypi_0 pypi
ncurses 6.4 h6a678d5_0
numpy 1.17.5 pypi_0 pypi
openssl 1.1.1u h7f8727e_0
patchelf 0.17.2.1 pypi_0 pypi
pillow 10.0.0 pypi_0 pypi
pip 23.1.2 py38h06a4308_0
pycparser 2.21 pypi_0 pypi
pyglet 1.5.0 pypi_0 pypi
python 3.8.13 haa1d7c7_1
readline 8.2 h5eee18b_0
safety-gym 0.0.0 dev_0
I hope to receive your reply, best, I wish you the best of luck.
Dear Robosuite team,
Thanks for your great work in robosuite! i am a student. I want to run the MAPLE ,but when i installed my envirenment MAPLE,i found that my numpy version is incompatibility. But I install the env MAPLE followed requirements.txt(exactly maple.yml),so what is wrong?
Xia Xiaowu