Open SpawN1337 opened 4 years ago
tensorflow version 1.15.0 worked for me while tf ver >2.0 yields errors due to contrib packages. The author recommended tf 1.14.0. Have a try!
Hey, try this:
""" OLD """
""" NEW """ import tensorflow.compat.v1 as tf tf.disable_v2_behavior() import tf_slim as slim """*****"""
(I'm using tensorflow 2.3.1)
Hello @pvtien96 . Can you tell me if there is somewhere a list with the versions of the required packages? Thanks!
Hey, try this:
""" OLD """ #import tensorflow as tf #import tensorflow.contrib.slim as slim """ NEW """ import tensorflow.compat.v1 as tf tf.disable_v2_behavior() import tf_slim as slim """*****"""
(I'm using tensorflow 2.3.1)
Doing that suggestion I had another problem with the code.
Error: AttributeError: module 'tf_slim' has no attribute 'variable_scope'
That is on network_definition.py file. Someone can help? Thank you
@sgarcesh i got the same error as yours, did you find a solution ?
Contrib packages apparently are not very stable. So they may change between versions so what tf version should i use here ?