legged_gym icon indicating copy to clipboard operation
legged_gym copied to clipboard

Capturing video during training

Open dmtrung14 opened this issue 8 months ago • 1 comments

I am following the instructions here: https://github.com/nvidia-omniverse/IsaacGymEnvs?tab=readme-ov-file#capture-videos to capture video during training, by adding:

envs.is_vector_env = True
envs = gym.wrappers.RecordVideo(
	envs,
	"./videos",
	step_trigger=lambda step: step % 10000 == 0, # record the videos every 10000 steps
	video_length=100  # for each video record up to 100 steps
)

to task_registry.make_envs but it only creates json files with empty videos.

Any help is appreciated!

dmtrung14 avatar Jun 01 '24 16:06 dmtrung14