You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be a line like "env_info[timestep.env_id.item()] = {'time': 0., 'step': 0, 'train_sample': 0}" here. Otherwise, the value of env_info keeps accumulating and doesn't represent the intended statistics anymore.
The text was updated successfully, but these errors were encountered:
Thanks for your feedback. We have added this reset mechanism for env_info in the above commit, add related unittest modules are also improved to check its correctness.
DI-engine/ding/framework/middleware/functional/collector.py
Line 163 in de9ada0
There should be a line like "env_info[timestep.env_id.item()] = {'time': 0., 'step': 0, 'train_sample': 0}" here. Otherwise, the value of env_info keeps accumulating and doesn't represent the intended statistics anymore.
The text was updated successfully, but these errors were encountered: