IntelLabs / coach

Reinforcement Learning Coach by Intel AI Lab enables easy experimentation with state of the art Reinforcement Learning algorithms
https://intellabs.github.io/coach/
Apache License 2.0
2.33k stars 461 forks source link

Fix atari stack overflow #412

Closed shadiendrawis closed 4 years ago

shadiendrawis commented 5 years ago

Atari environments are causing a stack overflow because of infinite recursion. This happens usually in advanced stages of the training when there are long episodes that reach the maximum step limit in gym. This was likely introduced in PR #325 due to gym api change.