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

Not able to render on Colab #1

Closed
Vibha111094 opened this issue May 15, 2021 · 1 comment
Closed

Not able to render on Colab #1

Vibha111094 opened this issue May 15, 2021 · 1 comment

Comments

@Vibha111094
Copy link

Vibha111094 commented May 15, 2021

The below command:

python -m alfred.gen.render_trajs

works when i run it on my personal laptop, but does not seem to work on colab.

Are there any changes I can do so that I can get it working on colab.

@alexpashevich
Copy link
Owner

alexpashevich commented May 17, 2021

Hi Vibha,

To render the trajectories, you need to have an X server running. By default, the code uses 0 for the X server display number and you can change it with args.x_display. We never tried to run the code with colab but you can try to do it by making sure that an X server is running at your backend device. It should be easier if you chose your local machine as a backend and check that an X server running (e.g. with xdpyinfo).

Best,
Alex

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

2 participants