You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importtensorflowastf# Create the model with default imagenet weightsEffnetB0=tf.keras.applications.EfficientNetB0(
include_top=True,
weights='tf-efficientnet-weights/efficientnetb0.h5')
# Save the modelsaved_model_dir="efficientnetb0"tf.saved_model.save(EffnetB0, saved_model_dir)
Channels first for keras models NCWH, OpenCV reads in NWHC
Open a terminal window and enter the following command