Guill-Bla commited on
Commit
3f1f9b9
·
verified ·
1 Parent(s): e24aace

Update tasks/image.py

Browse files
Files changed (1) hide show
  1. tasks/image.py +1 -1
tasks/image.py CHANGED
@@ -102,7 +102,7 @@ async def evaluate_image(request: ImageEvaluationRequest):
102
  from ultralytics import YOLO
103
 
104
  # Load the trained YOLOv8 model
105
- yolov8_model = YOLO("./../yolov8n.pt")
106
 
107
  predictions = []
108
  true_labels = []
 
102
  from ultralytics import YOLO
103
 
104
  # Load the trained YOLOv8 model
105
+ model = YOLO("./../best.pt")
106
 
107
  predictions = []
108
  true_labels = []