Closed Dtrc2207 closed 1 year ago
Testing is on its way and is looking for the cause of the BUG.
Thanks for your feedback, this is due to your update_cycle
being 512, and SafetySwimmerVelocity only terminated when time_step==1000
, so the first time you update the lagrangian multiplier, it gets a nan
. Please make sure the update_cycle
is meaningful to tasks. And we will add assert
to prevent situations like this in later versions.
Required prerequisites
What version of OmniSafe are you using?
0.2.2
System information
ubuntu20.04 0.2.2
Problem description
When I try to use omnisafe via the command line, I found there is some wrong, make nan in tensor.
Reproducible example code
The Python snippets:
Command lines:
Extra dependencies:
Steps to reproduce:
Traceback
Expected behavior
No response
Additional context
No response