baselines icon indicating copy to clipboard operation
baselines copied to clipboard

Issue Saving Video of Runs

Open rao-ashish opened this issue 6 years ago • 1 comments

Hello,

I am trying to save video files of runs while training with the following command:

python -m baselines.run --alg=ppo2 --env=InvertedPendulum-v2 --num_timesteps=1e5 --save_video_interval=33333

However, I get the error:

ERROR: GLEW initalization error: Missing GL version

How can I save video files of the runs?

Thanks in advance.

rao-ashish avatar Mar 09 '19 23:03 rao-ashish

Add a line in your .bashrc: export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGLEW.so:/usr/lib/nvidia-384/libGL.so Don't forget to replace nvidia-xxx~

yf291115925 avatar Jun 05 '20 14:06 yf291115925