Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'MazeEnvRandom10x10Plus' object has no attribute 'monitor' #9

Open
arashmahyari opened this issue May 18, 2020 · 2 comments
Open

'MazeEnvRandom10x10Plus' object has no attribute 'monitor' #9

arashmahyari opened this issue May 18, 2020 · 2 comments

Comments

@arashmahyari
Copy link

arashmahyari commented May 18, 2020

I try to run the sample code you have, it gives me this error. Gym is installed and working.

Traceback (most recent call last):

  File "./q_learning_maze.py", line 192, in <module>
    env.monitor.start(recording_folder, force=True)

  File "/home/user/anaconda3/lib/python3.7/site-packages/gym/core.py", line 216, in __getattr__
    return getattr(self.env, name)

AttributeError: 'MazeEnvRandom10x10Plus' object has no attribute 'monitor'
@christiangfv
Copy link

christiangfv commented Sep 30, 2020

I have the same problem. Do you know what is the solution?

@chirag4798
Copy link

set ENABLE_RECORDING=False in the script, by default its set to True and is used for recording the episodes in videos. The script will run fine after that, but will not record anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants