Closed jannaescur closed 5 years ago
I get the following error: AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'swish'
AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'swish'
Tensorflow version: 1.4.0 (GPU, installed before your library) Keras version: 2.2.4
I have imported the model: from keras_efficientnets import EfficientNetB4 This should import custom_objects too, right?
from keras_efficientnets import EfficientNetB4
Any idea of what can be happening? Thanks
Update your tensorflow version. TF.nn.swish was not added in TF 1.4
I get the following error:
AttributeError: module 'tensorflow.python.ops.nn' has no attribute 'swish'
Tensorflow version: 1.4.0 (GPU, installed before your library) Keras version: 2.2.4
I have imported the model:
from keras_efficientnets import EfficientNetB4
This should import custom_objects too, right?Any idea of what can be happening? Thanks