cannot import name 'EfficientNetB0'
HOMGH opened this issue · comments
Hi,
I'm trying to run demo.py to estimate age/gender from my own images but I'm getting : "cannot import name 'EfficientNetB0'" error from this line of the code: "from tensorflow.keras.applications import EfficientNetB0".
Tensorflow version: 1.13
Python version: 3.6
Any idea?
Please use tensorflow>=2.3.0
Please use tensorflow>=2.3.0
Thank you for your reply. I wanna use your code in my own network which should be implemented in TF1.13. Is there any other way to resolve the issues?
remove these lines
strategy = tf.distribute.MirroredStrategy()
with strategy.scope():
and try:
python train.py model.model_name=MobileNetV2
I have no ideas about how to use the pretrained model (EfficientNetB0).