Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,11 +49,6 @@ def yolov8_img_inference(
|
|
49 |
|
50 |
model.conf = conf_threshold
|
51 |
model.iou = iou_threshold
|
52 |
-
# model.overrides['conf'] = conf_threshold
|
53 |
-
# model.overrides['iou'] = iou_threshold
|
54 |
-
# model.overrides['agnostic_nms'] = False
|
55 |
-
# model.overrides['max_det'] = 1000
|
56 |
-
image = read_image
|
57 |
results = model.predict(image, imgsz=image_size, conf=conf_threshold, iou=iou_threshold)
|
58 |
render = render_result(model=model, image=image, result=results[0])
|
59 |
# get the model names list
|
|
|
49 |
|
50 |
model.conf = conf_threshold
|
51 |
model.iou = iou_threshold
|
|
|
|
|
|
|
|
|
|
|
52 |
results = model.predict(image, imgsz=image_size, conf=conf_threshold, iou=iou_threshold)
|
53 |
render = render_result(model=model, image=image, result=results[0])
|
54 |
# get the model names list
|