Spaces:
Runtime error
Runtime error
Update models.py
Browse files
models.py
CHANGED
@@ -41,7 +41,7 @@ def efficientnetv2b0_25_arch_styles_Classifier(image):
|
|
41 |
224, 224), interpolation=cv2.INTER_CUBIC)
|
42 |
img = tf.expand_dims(resized_image, 0)
|
43 |
efficientnetv2b0 = tf.keras.models.load_model(
|
44 |
-
"
|
45 |
|
46 |
y = efficientnetv2b0.predict(img).reshape(-1)
|
47 |
y = (np.round(y, 3)*100).tolist()
|
|
|
41 |
224, 224), interpolation=cv2.INTER_CUBIC)
|
42 |
img = tf.expand_dims(resized_image, 0)
|
43 |
efficientnetv2b0 = tf.keras.models.load_model(
|
44 |
+
"EfficientNetV2B0.h5")
|
45 |
|
46 |
y = efficientnetv2b0.predict(img).reshape(-1)
|
47 |
y = (np.round(y, 3)*100).tolist()
|