carpedm20 / deep-rl-tensorflow

TensorFlow implementation of Deep Reinforcement Learning papers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'TimeLimit' object has no attribute 'ale' Error

NoobFang opened this issue · comments

Hi, this error occurs when I try to run the demo of Breakout-v0.

And, I have install gym[atari] and can make the environment 'Breakout-v0', however, this env has no 'ale' attribute to get the current lives.

Have been solved by

  1. reinstall gym in anaconda.
    OR
  2. unwrapped the env to get the 'ale' attribute.