-
Notifications
You must be signed in to change notification settings - Fork 429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors in playback for sample demonstrations #451
Comments
Might be that the demos are outdated potentially? If you install with pip, does it give you the same issue? |
Thanks for the suggestion! I switched to the pip installation. The For Traceback (most recent call last):
File "/Users/astro/robosuite/robosuite/scripts/playback_demonstrations_from_hdf5.py", line 44, in <module>
env_info = json.loads(f["data"].attrs["env_info"])
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/opt/homebrew/Caskroom/miniforge/base/envs/robosuite/lib/python3.9/site-packages/h5py/_hl/attrs.py", line 56, in __getitem__
attr = h5a.open(self._id, self._e(name))
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5a.pyx", line 80, in h5py.h5a.open
KeyError: "Can't open attribute (can't locate attribute: 'env_info')" For Playing back random episode... (press ESC to quit)
Traceback (most recent call last):
File "/Users/astro/robosuite/robosuite/scripts/playback_demonstrations_from_hdf5.py", line 69, in <module>
xml = env.edit_model_xml(model_xml)
File "/Users/astro/robosuite/robosuite/environments/base.py", line 520, in edit_model_xml
tree = ET.fromstring(xml_str)
File "/opt/homebrew/Caskroom/miniforge/base/envs/robosuite/lib/python3.9/xml/etree/ElementTree.py", line 1343, in XML
return parser.close()
xml.etree.ElementTree.ParseError: syntax error: line 1, column 0 |
Oops, you're right - looks like this demo (in |
@Abhiram824 could you please help convert the wiping demo to the new controller version? Command to reproduce: Error in |
I'm on an M1 MacBook with robosuite installed from source (on the master branch).
I've run into errors with playback for all of the sample demonstrations in
robosuite/models/assets/demonstrations
, when runningpython playback_demonstrations_from_hdf5.py
from therobosuite/scripts
folder.The command
python playback_demonstrations_from_hdf5.py --folder ../models/assets/demonstrations/lift/
gives me the error:Output
The command
python playback_demonstrations_from_hdf5.py --folder ../models/assets/demonstrations/handover/panda_panda
gives me the error:Output
The command
python playback_demonstrations_from_hdf5.py --folder ../models/assets/demonstrations/wipe/panda
gives me the error (possibly related to #303):Output
Any idea what might be happening here? Thank you!
The text was updated successfully, but these errors were encountered: