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

Tensorflow Attribute Error: module 'tensorflow_core._api.v2.train' has no attribute 'RMSProp Optimizer' #121

Closed
ThomasZav opened this issue Oct 22, 2019 · 6 comments

Comments

@ThomasZav
Copy link

After conducting all the given steps on installation when I run ,

python -um dopamine.discrete_domains.train
--base_dir=/tmp/dopamine
--gin_files='dopamine/agents/dqn/configs/dqn.gin'

I get the following error,

in line 97, in DQN Agent
optimizer=tf.train.RMSPropOptimizer(
Attribute Error: module 'tensorflow_core._api.v2.train' has no attribute 'RMSProp Optimizer'

How could we solve this problem?

@ThomasZav ThomasZav changed the title Tensorflow Attribute Error Tensorflow Attribute Error: module 'tensorflow_core._api.v2.train' has no attribute 'RMSProp Optimizer' Oct 22, 2019
@wendersonj
Copy link

Did you get past it? @ThomasZav

@TobyGE
Copy link

TobyGE commented Dec 11, 2019

Anyone got some progress???

@mgbellemare
Copy link
Collaborator

This should be an easy fix, stay tuned.

@psc-g
Copy link
Collaborator

psc-g commented Dec 18, 2019

could you let me know what version of tensorflow you have installed?
pip show tensorflow-gpu or pip show tensorflow

@ulyssesdotcodes
Copy link

It's RMSprop not RMSProp (notice the capital p)

@mhsmith
Copy link

mhsmith commented Jan 26, 2020

Also, it's RMSprop, not RMSpropOptimizer. The full v2 name is tf.keras.optimizers.RMSprop.

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

7 participants