Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capturing video during training #66

Open
dmtrung14 opened this issue Jun 1, 2024 · 1 comment
Open

Capturing video during training #66

dmtrung14 opened this issue Jun 1, 2024 · 1 comment

Comments

@dmtrung14
Copy link

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
Copy link
Author

So one key notice I realized is that the ends here are wrapped in VecEnv class, so that example is probably not working. However, I still want to capture videos during training/playback since I'm working on a remote desktop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant