Spaces:
Running
Running
int8=True for speeding up inference
Browse files- backend/model.py +1 -1
backend/model.py
CHANGED
|
@@ -23,7 +23,7 @@ def ensure_openvino():
|
|
| 23 |
|
| 24 |
# https://docs.ultralytics.com/modes/export/#arguments
|
| 25 |
if not OV_DIR.exists():
|
| 26 |
-
YOLO(str(PT_PATH)).export(format="openvino", dynamic=True)
|
| 27 |
|
| 28 |
|
| 29 |
def load_model():
|
|
|
|
| 23 |
|
| 24 |
# https://docs.ultralytics.com/modes/export/#arguments
|
| 25 |
if not OV_DIR.exists():
|
| 26 |
+
YOLO(str(PT_PATH)).export(format="openvino", dynamic=True, int8=True)
|
| 27 |
|
| 28 |
|
| 29 |
def load_model():
|