Hack is back

This commit is contained in:
Dominik Moritz Roth 2023-01-26 18:15:06 +01:00
parent 20646f07f3
commit f86c6c736f

View File

@ -236,6 +236,8 @@ class GaussianRolloutCollectorAuxclass():
if callback.on_step() is False:
return False
if isinstance(env, DummyVecEnv):
self._update_info_buffer(infos[0])
self._update_info_buffer(infos)
n_steps += 1