Closed marioyc closed 3 years ago
Since the PFRL's Monitor call the __init__
function of the Gym's Monitor, it already sets the mode right? Why do we need to set it again?
Edit: PPO Atari example sets the mode while wrapping the environments so that might mean that functional already works.
that will set the type for the initial self.stats_recorder
but we overwrite with PFRL's _StatsRecorder
which mode
doesn't affect
Oh okay, that make sense. I went ahead and tried your change and it successfully labels eval environments as e
in .json files.
Call _set_mode in Monitor to set the stats type as done here