Answers for "AttributeError: module 'tensorflow._api.v2.train' has no attribute 'RMSPropOptimizer' site:stackoverflow.com"

2

AttributeError: module 'tensorflow._api.v2.train' has no attribute 'GradientDescentOptimizer' site:stackoverflow.com

use tf.optimizer.SGD() for tensorflow2.0
Posted by: Guest on June-06-2020
0

AttributeError: module 'tensorflow._api.v2.train' has no attribute 'RMSPropOptimizer' site:stackoverflow.com

change
tf.train.Optimizer
to
tf.compat.v1.train.Optimizer
Posted by: Guest on December-08-2020

Code answers related to "AttributeError: module 'tensorflow._api.v2.train' has no attribute 'RMSPropOptimizer' site:stackoverflow.com"

Python Answers by Framework

Browse Popular Code Answers by Language