Open Folly135 opened 1 year ago
Hi! Sorry for the late reply, I missed this issue and just came across it!
I suspect that the error you are encountering is not specific to the SPiRL codebase. My guess is that you are running on a headless server, ie without a connected display? I think mujoco is trying to render on your display, but can't find a display.
One thing you can try is to open a virtual display by running Xvfb :1 -screen 0 1024x768x16 &
before starting the script. This will create a virtual screen that Mujoco can use for rendering.
Hope this helps! -- Karl
Hi! I cannot complete the environment configuration, I meet a problem called: loading from the config file spirl/configs/skill_prior_learning/kitchen/hierarchical_cl/conf.py Warning: Mujoco-based envs failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message. No module named 'mjrl' Warning: Flow failed to import. Set the environment variable D4RL_SUPPRESS_IMPORT_ERROR=1 to suppress this message. No module named 'flow' MoTTY X11 proxy: Authorisation not recognised /home/hehongcai/miniconda3/envs/SPiRL/lib/python3.7/site-packages/glfw/init.py:912: GLFWError: (65544) b'X11: Failed to open display localhost:12.0' warnings.warn(message, GLFWError) Segmentation fault (core dumped)
I don't change anything except the wandb part. I have found many ways but cannot solve them. Do you have any solutions?
Thank you very much!