AttributeError: module 'tensorflow' has no attribute 'AUTO_REUSE'
Opened this issue ยท 4 comments
Deleted user commented
Training Mode
Traceback (most recent call last):
File "main.py", line 70, in
tf.app.run()
File "C:\Users\user\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\platform\app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "main.py", line 59, in main
use_init_model=FLAGS.use_init_model
File "C:\Users\user\Downloads\Face-Aging-CAAE-master\FaceAging.py", line 218, in train
with tf.variable_scope('opt', reuse=tf.AUTO_REUSE):
AttributeError: module 'tensorflow' has no attribute 'AUTO_REUSE'
Deleted user commented
pip3 install --upgrade tensorflow
dimitri320 commented
this doesn't work in Oct 2019
RushToNeverLand commented
this doesn't work in Dec 2019
jqueguiner commented
to fix : use tf.compat.v1.AUTO_REUSE instead