ソースを参照

detect.py fast bug fix

5.0
Glenn Jocher 4年前
コミット
bbd12c7cfe
1個のファイルの変更1行の追加2行の削除
  1. +1
    -2
      detect.py

+ 1
- 2
detect.py ファイルの表示

@@ -64,8 +64,7 @@ def detect(save_img=False):
pred = model(img, augment=opt.augment)[0]

# Apply NMS
pred = non_max_suppression(pred, opt.conf_thres, opt.iou_thres,
fast=True, classes=opt.classes, agnostic=opt.agnostic_nms)
pred = non_max_suppression(pred, opt.conf_thres, opt.iou_thres, classes=opt.classes, agnostic=opt.agnostic_nms)
t2 = torch_utils.time_synchronized()

# Apply Classifier

読み込み中…
キャンセル
保存