Closed raymondchua closed 10 months ago
Hi, Can someone explain why the start of the episode is false when the GymAtari environment is reseted? Shouldn't it be true?
https://github.com/google-deepmind/dqn_zoo/blob/8728c674420725f49f6dec9b893f9420fd5cd2ef/dqn_zoo/gym_atari.py#L77C1-L77C1
The line
self._start_of_episode = False
is set at the end of reset() to indicate to the next call to step() it is no longer the start of the episode; we have returned the first timestep. The comments here explains in more detail why this internal variable exists.
reset()
step()
Hi, Can someone explain why the start of the episode is false when the GymAtari environment is reseted? Shouldn't it be true?
https://github.com/google-deepmind/dqn_zoo/blob/8728c674420725f49f6dec9b893f9420fd5cd2ef/dqn_zoo/gym_atari.py#L77C1-L77C1