Skip to content

Commit

Permalink
Update infer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lose4578 authored Mar 13, 2024
1 parent ae362e4 commit 3516949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Detection/Gold-YOLO/tools/infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def run(weights=osp.join(ROOT, 'yolov6s.pt'),
os.makedirs(save_txt_path)

# Inference
inferer = Inferer(source, weights, device, yaml, img_size, half)
inferer = Inferer(source, None, None, weights, device, yaml, img_size, half)
inferer.infer(conf_thres, iou_thres, classes, agnostic_nms, max_det, save_dir, save_txt, not not_save_img, hide_labels, hide_conf, view_img)

if save_txt or not not_save_img:
Expand Down

0 comments on commit 3516949

Please sign in to comment.