Open dengfenglai321 opened 4 years ago
I have the same problem, but I solved it by change the
K.tf.nn.max_pool_with_argmax
=> tf.nn.max_pool_with_argmax
Also changed other K.tf.
=> tf.
Also it's needed to replace the:
with K.tf.variable_scope(self.name):
to:
with tf.compat.v1.variable_scope(self.name):
when i run ,it display the error: module 'keras.backend' has no attribute 'tf'
can you help me