0

[Error occur with karas and using EfficientNetThis is the error i got ]2

I tried: - import tensorflow.python.keras.utils as generic_utils installed segmentation-models also

A_galaxy
  • 11
  • 1

1 Answers1

0

If your TensorFlow version is 2.7, then please downgrade it to 2.6.0 for efficientnet package to work:

!pip install tensorflow==2.6.0
!pip install keras~=2.6.0

Otherwise, you can use efficientnet from tensorflow applications. Please refer: https://www.tensorflow.org/api_docs/python/tf/keras/applications/efficientnet