Closed MiladShafiee closed 7 months ago
Exact same here! same error as well! perhaps we are not initialising the record_video.py correctly? - I am using sb3 not rsl_rl if that matters.
Let me know if you figure something out!
Hi @WillMandil001 @MiladShafiee ,
I have been unable to reproduce this issue on my end. Could it be because of insufficient RAM that the code crashes? On my PC, running the above command already takes 32 GB RAM during training. Quite a lot for such an example though.
I suggest reducing the image resolution in the ViewerCfg
. Hopefully that reduces the consumption.
Hi @MiladShafiee @Mayankm96 I have a sketchy fix:
The RAM wasnt the issue.
The error is produced because when the gymnasium script video_recorder.py is called to close() it actually closes the whole environment (line 148 for me - self.env.close()).
Thats why non of the env.manager functions can be found.
Commenting out this line is a gross but an easy fix...
Hi @WillMandil001 @Mayankm96 , Sorry for super late answer, have not received notification (my github setting).
Thank you so much, the RAM was not my issue neither. Commenting the env.close() solved my problem too. Just for further reference I modified video_recorder.py in the following directory (there are multiple video_recorder here and there):
/anaconda3/envs/orbit/lib/python3.10/site-packages/gymnasium/wrappers/monitoring
Since it solved somehow, I close this issue.
Thank you @MiladShafiee for the hint
Hi @WillMandil001 @Mayankm96 , Sorry for super late answer, have not received notification (my github setting).
Thank you so much, the RAM was not my issue neither. Commenting the env.close() solved my problem too. Just for further reference I modified video_recorder.py in the following directory (there are multiple video_recorder here and there):
/anaconda3/envs/orbit/lib/python3.10/site-packages/gymnasium/wrappers/monitoring
Since it solved somehow, I close this issue.
yes, there are so many video_recorder.py. In my case, I should modify the video_recorder.py in .local/share/ov/pkg/isaac-sim4.0.0/exts/omni.isaac.ml_archive/pip_prebundle/gymnasium/wrappers/monitoring
Thanks for amazing software.
Describe the bug
I would like to record video during training to check the progress, When I run the RL task with off-screen render, I receive the following error after 7 learning iteration, without this argument it works properly:
Steps to reproduce
./orbit.sh -p source/standalone/workflows/rsl_rl/train.py --task=Isaac-Velocity-Rough-Anymal-C-v0 --headless --num_envs 4096 --video --offscreen_render
System Info
Describe the characteristic of your environment:
Checklist