Spaces:
Runtime error
Runtime error
adinmg
commited on
Commit
·
07835b2
1
Parent(s):
d462f3f
model path modified
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ with open('class_names.txt') as f:
|
|
14 |
class_names = [breed.strip() for breed in f.readlines()]
|
15 |
|
16 |
# Load the pre-trained EfficientNetV2 model
|
17 |
-
effnet = tensorflow.keras.models.load_model('
|
18 |
|
19 |
# Get the preprocessing function for EfficientNetV2
|
20 |
effnet_preprocess_input = tensorflow.keras.applications.efficientnet_v2.preprocess_input
|
|
|
14 |
class_names = [breed.strip() for breed in f.readlines()]
|
15 |
|
16 |
# Load the pre-trained EfficientNetV2 model
|
17 |
+
effnet = tensorflow.keras.models.load_model('dog_breed_effnet_augmentation.h5')
|
18 |
|
19 |
# Get the preprocessing function for EfficientNetV2
|
20 |
effnet_preprocess_input = tensorflow.keras.applications.efficientnet_v2.preprocess_input
|