env = VecVideoRecorder(
eval_env,
"./", # Temporary video folder
record_video_trigger=lambda x: x == 0,
video_length=video_length,
name_prefix="",
)
generated a video file wherever the user is. In the temporary video folder, you can use tempfile.TemporaryDirectory() to automatically create a directory that will be deleted afterwards
This code snippet
generated a video file wherever the user is. In the temporary video folder, you can use
tempfile.TemporaryDirectory()
to automatically create a directory that will be deleted afterwards