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

AttributeError: 'FilteredEnv' object has no attribute 'monitor' #9

Open
inksci opened this issue Oct 23, 2017 · 2 comments
Open

AttributeError: 'FilteredEnv' object has no attribute 'monitor' #9

inksci opened this issue Oct 23, 2017 · 2 comments

Comments

@inksci
Copy link

inksci commented Oct 23, 2017

Traceback (most recent call last):
  File "gym_ddpg.py", line 43, in <module>
    main()
  File "gym_ddpg.py", line 13, in main
    env.monitor.start('experiments/' + ENV_NAME,force=True)
AttributeError: 'FilteredEnv' object has no attribute 'monitor'
>>> tf.__version__
'1.3.0'
>>> import gym
>>> gym.__version__
'0.9.3'
@inksci
Copy link
Author

inksci commented Oct 23, 2017

I just comment out the related code:

# env.monitor.start('experiments/' + ENV_NAME,force=True)

It works!

@MahtabSarvmaili
Copy link

Hi
I had the same problem.
Is there any way to solve this problem without commenting any line of code?

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

2 participants