yusyel
commited on
Commit
·
a9c1bc3
1
Parent(s):
25e0284
fix
Browse files
app.py
CHANGED
@@ -8,17 +8,15 @@ import numpy as np
|
|
8 |
model = from_pretrained_keras("yusyel/fishv2")
|
9 |
|
10 |
|
11 |
-
class_names
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
"Trout",
|
21 |
-
]
|
22 |
|
23 |
|
24 |
def preprocess_image(img, label):
|
|
|
8 |
model = from_pretrained_keras("yusyel/fishv2")
|
9 |
|
10 |
|
11 |
+
class_names=["Black Sea Sprat",
|
12 |
+
"Gilt-Head Bream",
|
13 |
+
"Hourse Mackerel",
|
14 |
+
"Red Mullet",
|
15 |
+
"Red Sea Bream",
|
16 |
+
"Sea Bass",
|
17 |
+
"Shrimp",
|
18 |
+
"Striped Red Mullet",
|
19 |
+
"Trout"]
|
|
|
|
|
20 |
|
21 |
|
22 |
def preprocess_image(img, label):
|