I’m trying to add utils from keras_unet in google colab, but I have a problem.
JavaScript
x
3
1
import tensorflow as tfs
2
from keras_unet import utils
3
keras-unet init: TF version is >= 2.0.0 – using tf.keras
instead of Keras
ModuleNotFoundError
Advertisement
Answer
You must install keras-unet before importing as follows
JavaScript
1
3
1
!pip install keras-unet
2
from keras_unet import utils
3
Let us know if the issue still persists. Thanks!