correct name
Browse files
google_perch_tflite/model.py
CHANGED
|
@@ -8,6 +8,7 @@ from iSparrow import utils
|
|
| 8 |
from iSparrow import ModelBase
|
| 9 |
|
| 10 |
import numpy as np
|
|
|
|
| 11 |
|
| 12 |
class Model(ModelBase):
|
| 13 |
"""
|
|
@@ -30,7 +31,7 @@ class Model(ModelBase):
|
|
| 30 |
|
| 31 |
# base class loads the model and labels
|
| 32 |
super().__init__(
|
| 33 |
-
"
|
| 34 |
model_path,
|
| 35 |
labels_path,
|
| 36 |
num_threads=num_threads,
|
|
|
|
| 8 |
from iSparrow import ModelBase
|
| 9 |
|
| 10 |
import numpy as np
|
| 11 |
+
from pathlib import Path
|
| 12 |
|
| 13 |
class Model(ModelBase):
|
| 14 |
"""
|
|
|
|
| 31 |
|
| 32 |
# base class loads the model and labels
|
| 33 |
super().__init__(
|
| 34 |
+
"google_perch_tflite",
|
| 35 |
model_path,
|
| 36 |
labels_path,
|
| 37 |
num_threads=num_threads,
|