Skip to content

Commit

Permalink
fix imgsz bug
Browse files Browse the repository at this point in the history
  • Loading branch information
d57montes authored and glenn-jocher committed Dec 12, 2021
1 parent 8f35436 commit 667cc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
@torch.no_grad()
def run(weights=ROOT / 'yolov5s.pt', # model.pt path(s)
source=ROOT / 'data/images', # file/dir/URL/glob, 0 for webcam
imgsz=640, # inference size (pixels)
imgsz=(640, 640), # inference size (pixels)
conf_thres=0.25, # confidence threshold
iou_thres=0.45, # NMS IOU threshold
max_det=1000, # maximum detections per image
Expand Down

0 comments on commit 667cc9a

Please sign in to comment.