Hi Gabriel,

You are right that normally that would be the case. For VizDoom in particular, there is a separate timeout that the environment itself calculates. When we set-up the environment, it is this line:

game.set_episode_timeout(300)

And when it is triggered then d is set to true, and that exits the loops.

Hope that clarifies.

PhD. Interests include Deep (Reinforcement) Learning, Computational Neuroscience, and Phenomenology.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store