isaac-sim / IsaacGymEnvs

Isaac Gym Reinforcement Learning Environments
Other
1.77k stars 389 forks source link

Bug_Fix/Capture Videos in HumanoidAMP #200

Open Ke-Wang1017 opened 6 months ago

Ke-Wang1017 commented 6 months ago

Hi when I want to record videos by running the command train.py \ task=HumanoidAMP \ experiment=AMP_walk \ capture_video=True \ force_render=True \ and it gives me the erro TypeError: render() got an unexpected keyword argument ''mode. It turns out the inherited render() in humanoid_amp_base.py does not receive the mode argument, also it needs to return the frame to really save the video.

Another small bug fix is in common_agent.py where self.seq_len has to be initialized before reading AMP dataset