-
Notifications
You must be signed in to change notification settings - Fork 206
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
Visual (RGB) input leads to unobservable and invalid videos. #207
Comments
I have not seen this issue before - what branches and versions of robomimic are you on? And how about your simulation env? |
master, robomimic 0.3.0. An env constructed by myself. |
I find the shape of |
UPDATEI found it's not |
FIX BUGI think i found the bug: robomimic/robomimic/envs/env_robosuite.py Lines 197 to 199 in 9273f9c
I comment this if branch and fix this bug.
Please fix this bug if you can repeat this bug. Thank U~ |
thanks for looking into this! what version of robosuite and mujoco are you on? it could be related to that as well. If you also have a simple minimal breaking example, we could help verify the issue and help fix this much more easily - for example a single script that constructs an environment and calls the render function, and shows the shape mismatch |
Besides, i'm trying to construct a simple minimal breaking example... |
Is it also broken on robosuite v1.4? We haven't completed thorough testing for robosuite v1.5 quite yet |
It works fine on |
thanks for checking! We will look into this further while integrating support for robosuite v1.5 |
I don't think we explicitly changed the depth rendering itself between versions - maybe one change is that the renderer defaults to mjviewer instead of mujoco? I'm not too sure how to set these in robomimic; perhaps @amandlek knows |
Visual input leads to unobservable and invalid videos.
When I train the model with BC, the generated video is unwatchable when using RGB-form input.
Here is my
bc.json
.My train script is:
CUDA_VISIBLE_DEVICES=0 python robomimic/scripts/train.py --config robomimic/exps/templates/bc1_img.json --dataset ${my hdf5 data path}
And using
rgb
as input will result in the followingWarning
:When I set
macro_block_size=1 or macro_block_size=None
inimageio.get_writer(video_paths[k], fps=20, macro_block_size=xxx)
, there will be an error:It is worth mentioning that when I use
low_dim
observation form as input, the generated video is observable and there is no suchWARNING:imageio_ffmpeg
.Is this a bug? Or is it just me who has this issue?
Thanks!
The text was updated successfully, but these errors were encountered: