-
Notifications
You must be signed in to change notification settings - Fork 16
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
RunTime error when using record_video with rollout.py #6
Comments
Hi @JL321 , Thanks for raising this issue. Indeed, this was an issue because the new |
@cremebrule I repulled, but it looks like I'm getting the following error instead |
Sorry, didn't push all the relevant changes. Can you try again? |
Sorry -- what version of robosuite are you using? (Specifically, what commit hash)? I was under the impression you were using the most recent version currently on master, but based on the error message it seems that you're using a slightly outdated version. |
I installed it through requirements, so I don't know the specific commit hash (should be from around the 14th - I'm not sure if the commits made on that day were included). Conda lists the version as robosuite 1.1.0 |
I see. The changes I added are in anticipation of the new 1.2 release, so you may be slightly outdated. Is your robosuite built from source or was it installed using pip? |
Installed using pip - I tried upgrading, but it doesn't look like pip registers the newest version yet |
I see -- yes, we're about to release the 1.2 version soon. Is this urgent? If you can wait for the 1.2 release, I'd recommend that, otherwise, you can do the following:
|
I have robosuite 1.2, python 3.7.4, mujoco 2.0.2.2. When I try to record video with the command:
I get a GLEW initialization error:
This is typically a Mujoco error: Some of these errors and fixes are a few years old. I do do LD_PRELOAD with glew libs with the following commands in .bashrc:
I have had no problem running training/visualizations of the simulations. It just happens in the recording. Wonder if anyone has some insights into this error. |
Having issues trying to run rollout.py when the record_video parameter is used.
Command that causes the error:
python scripts/rollout.py --load_dir {run_dir} --horizon 200 --camera frontview --record_video
Screenshot of traceback:
Running the exact same command without the record_video option seems to work without error, so it doesn't seem like there should be an error raised from the pytorch back-end.
*Some additional info:
The text was updated successfully, but these errors were encountered: