D4RL
D4RL copied to clipboard
How can I visualize the action?
Hi, I want to visualize the action after training, but I notice the "d4rl/scripts/visualize_dataset.py" writed 'Only MuJoCo-based environments can be visualized', If I want to visulize 'kitchen-complete-v0',how can I do ? thanks very much!
I try to change it ,and I change the code in d4rl/d4rl/kitchen/kitchen_envs.py " def render(self, mode='human'): return super(KitchenTaskRelaxV1, self).render()"
@csufangyu Does it work?
In my case, gladLoadGL Error
happen after I changed like you.
It is because of the attempt to use GLFW
as default. You can try to set this if you are running your code on a headless server: MUJOCO_GL="egl"
. You can look at the Rendering headline at https://github.com/deepmind/dm_control for more details and requirements to use EGL.
I try to use wrapper to modify render function, but it shows "KitchenTaskRelaxV1" is not defined