Skip to content
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

Rendering color wrong #636

Open
menzz333 opened this issue Feb 15, 2025 · 4 comments
Open

Rendering color wrong #636

menzz333 opened this issue Feb 15, 2025 · 4 comments
Assignees

Comments

@menzz333
Copy link

Image

Hello, I am encountering an issue with rendering color errors. My robosuite version is 1.2.

Image

I have meticulously examined the code in env_robosuite.py. The video rendered here has obtained the frame. I proceeded to draw this frame and discovered that the rendered color is still incorrect. I understand that this suggests the frame I received from robosuite might be problematic. Could you please advise on how to resolve this issue? Thank you.

@abhihjoshi
Copy link
Contributor

It seems the collision geoms are being rendered with the visual geoms. Can you try turning off the collision geoms during rendering?

@menzz333
Copy link
Author

menzz333 commented Feb 22, 2025

It seems the collision geoms are being rendered with the visual geoms. Can you try turning off the collision geoms during rendering?

Thank you for your help :). I tried to turn off the collision geoms during rendering, but then I was stuck by strange bugs. I only have gpu0 but it warned me that I do not have gpu1. I install the package from https://github.com/StanfordVL/egl_probe

Image

@abhihjoshi
Copy link
Contributor

What is the command you are using here? Are you manually setting which GPU to use in the command?

@menzz333
Copy link
Author

What is the command you are using here? Are you manually setting which GPU to use in the command?

Hello, I did not manually set gpu to use before I met this bug. Then I tried to forcely use gpu0 by export CUDA_VISIBLE_DEVICES=0, but nothing changed.

For the command, I just used training script to train my model. In detail, I set render_offscreen to True to turn off the collision geoms.

Image

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants