You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was running the train.py , this error occurred: self.conv7 = partial(tf.layers.conv2d, kernel_size=7, activation=tf.nn.elu, padding='SAME') AttributeError: module 'tensorflow' has no attribute 'layers'
and I could not find the solution,please help me.
The text was updated successfully, but these errors were encountered:
You are using Tensorflow v.2. This code is written in Tensorflow v.1. You can upgrade the code to v2 using this https://www.tensorflow.org/guide/upgrade or just install an older Tensorflow version
When I was running the train.py , this error occurred: self.conv7 = partial(tf.layers.conv2d, kernel_size=7, activation=tf.nn.elu, padding='SAME') AttributeError: module 'tensorflow' has no attribute 'layers'
and I could not find the solution,please help me.
The text was updated successfully, but these errors were encountered: