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

Running Without GUI #33

Open
DoThingYo opened this issue Jan 19, 2025 · 0 comments
Open

Running Without GUI #33

DoThingYo opened this issue Jan 19, 2025 · 0 comments

Comments

@DoThingYo
Copy link

Dear Allen,

May I ask if I could run the codes without using a GUI. It works for the Avoid dataset. But when I was running datasets such as Gym from Mujoco, specifically hopper-v2. I encounter some peoblems with X11. Following your instructions, I already add the parameters "++env.render=False":

For example, the scripts are
"python script/run.py --config-name=ft_ppo_diffusion_mlp --config-dir=cfg/gym/finetune/hopper-v2 +wandb.mode=disabled ++env.render=False"

or

"python script/run.py --config-name=ft_ppo_diffusion_mlp --config-dir=cfg/robomimic/finetune/can +wandb.mode=disabled ++env.render=False"

But I still encounter errors such as
"anaconda3/envs/dppo/lib/python3.8/site-packages/mujoco_py/gl/eglplatform.h:99:10: fatal error: X11/Xlib.h: No such file or directory
99 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
compilation terminated.
Error executing job with overrides: []"

But I didn't get these errors in the pretraining, only in the fine-tuning or evaluation. Could you please give me some hints?

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

1 participant