Chapter 8: Can't run train_model_conv.py due to the issue with gym.wrappers.TimeLimit
dadamkovic opened this issue · comments
Daniel commented
Couldn't get the code in train_model_conv.py to run due to the
'NoneType' object has no attribute 'max_episode_steps'
Not sure if some recent change in gym.wrappers or a bad setup from my side. It seems to somewhat work when I replace self.env.spec.max_episode_steps
with self.env.spec
in the definition of gym.wrappers.TimeLimit.