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

Access to SimState.rgb when displayer is not applicable #77

Open
daoyuan98 opened this issue Oct 5, 2020 · 6 comments
Open

Access to SimState.rgb when displayer is not applicable #77

daoyuan98 opened this issue Oct 5, 2020 · 6 comments

Comments

@daoyuan98
Copy link

Hi, I am running this simulator on a server without a display device. I want to get the scene image via SimState.rgb. But I got an error which says as follows:
TypeError: Unable to convert function return value to a Python type! The signature was (self: MatterSim.SimState) -> object
I think this probably may be related to the disconnection to a display device. Therefore, may I ask:

  1. Can I access the rgb image without a display device?
  • Some research codes setRenderngEnabled=False by not openning this simulator. But in this way the same error information occurs.
  1. Is it possible to access the images without downloading the whole 1.3T data?
  • I am downloading the dataset to a computer with a display but the speed is too slow...

Thanks and I do look forward to your reply!

@krtin
Copy link

krtin commented Oct 21, 2020

@daoyuan98 were you able to find a solution for the issue?

@daoyuan98
Copy link
Author

@daoyuan98 were you able to find a solution for the issue?

Unfortunately, no

@TommeyChang
Copy link

Your problem seems like curious. @daoyuan98
I have the 1.3T data, if I unmounted the HD and set setRenderngEnabled=True, the error was "unable to open skybox files".
However, if I set setRenderngEnabled=False, no matter what status the HD was, the error was the same as yours.
Thus, I think the problem is caused by the dataset, not the display.

@RunweiSitu
Copy link

So how can we access the image of viewpoints via state.rgb? Has anyone found a solution yet?

@neo99zhang
Copy link

@daoyuan98 were you able to solve this? got the exactly same error but I was working on wsl2.

@daoyuan98
Copy link
Author

@daoyuan98 were you able to solve this? got the exactly same error but I was working on wsl2.

unable to solve this..

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

5 participants