When I run “python train.py”, it works well.
But when I run “python train.py capture_video=True capture_video_freq=1500 capture_video_len=100 force_render=False”, it reports:
/home/isaacgym/python/IsaacGymEnvs/isaacgymenvs/tasks/ant.py:151: DeprecationWarning: an integer is required (got type isaacgym._bindings.linux-x86_64.gym_38.DofDriveMode). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
asset_options.default_dof_drive_mode = gymapi.DOF_MODE_NONE
/home/miniconda3/envs/isaacgym/lib/python3.8/site-packages/gym/wrappers/record_video.py:41: UserWarning: WARN: Overwriting existing videos at /home/isaacgym/python/IsaacGymEnvs/isaacgymenvs/videos folder (try specifying a different video_folder
for the RecordVideo
wrapper if this is not desired)
logger.warn(
/home/miniconda3/envs/isaacgym/lib/python3.8/site-packages/gym/wrappers/monitoring/video_recorder.py:43: DeprecationWarning: WARN: env.metadata["render.modes"] is marked as deprecated and will be replaced with
env.metadata[“render_modes”]see https://github.com/openai/gym/pull/2654 for more details logger.deprecation( /home/miniconda3/envs/isaacgym/lib/python3.8/site-ackages/gym/wrappers/monitoring/video_recorder.py:115: DeprecationWarning: WARN:
env.metadata[“video.frames_per_second”] is marked as deprecated and will be replaced with env.metadata["render_fps"]
see Rename render modes/fps by trigaten · Pull Request #2654 · openai/gym · GitHub for more details
logger.deprecation(
Segmentation fault (core dumped)
my environment is pytorch2.0.0, cuda11.8, RTX4090, Isaacgym preview 4
how can I capture videos correctly?