Update Predict.py
Browse files- Predict.py +1 -1
Predict.py
CHANGED
|
@@ -9,7 +9,7 @@ test01 = "data/16_3450.png"
|
|
| 9 |
test_image = test01
|
| 10 |
|
| 11 |
# Load a model
|
| 12 |
-
model = YOLO("weight/
|
| 13 |
|
| 14 |
|
| 15 |
with torch.no_grad():
|
|
|
|
| 9 |
test_image = test01
|
| 10 |
|
| 11 |
# Load a model
|
| 12 |
+
model = YOLO("weight/yolov9c-cable-seg.pt") # load a custom model
|
| 13 |
|
| 14 |
|
| 15 |
with torch.no_grad():
|