Spaces:
Running
Running
Update model
Browse files
utils/palmoil_classification.py
CHANGED
|
@@ -16,8 +16,7 @@ class AfroPalmModel:
|
|
| 16 |
|
| 17 |
self.model_path = os.path.dirname(os.path.abspath("ghostnet_model_float32.tflite")) + "/models/ghostnet_model_float32.tflite"
|
| 18 |
|
| 19 |
-
logging.debug(f"Preparing to read from {self.
|
| 20 |
-
|
| 21 |
|
| 22 |
with open(self.model_path, 'rb') as fid:
|
| 23 |
tflite_model = fid.read()
|
|
|
|
| 16 |
|
| 17 |
self.model_path = os.path.dirname(os.path.abspath("ghostnet_model_float32.tflite")) + "/models/ghostnet_model_float32.tflite"
|
| 18 |
|
| 19 |
+
logging.debug(f"Preparing to read from {self.model_path}")
|
|
|
|
| 20 |
|
| 21 |
with open(self.model_path, 'rb') as fid:
|
| 22 |
tflite_model = fid.read()
|