瀏覽代碼

Fix inconsistent NMS IoU value for COCO (#3934)

Evaluation of 'best' and 'last' models will use the same params as the evaluation during the training phase. 
This PR fixes https://github.com/ultralytics/yolov5/issues/3907
modifyDataloader
Eldar Kurtic GitHub 3 年之前
父節點
當前提交
e7888af94c
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 0 行新增2 行删除
  1. +0
    -2
      train.py

+ 0
- 2
train.py 查看文件

@@ -457,8 +457,6 @@ def train(hyp, # path/to/hyp.yaml or hyp dictionary
results, _, _ = test.run(data_dict,
batch_size=batch_size // WORLD_SIZE * 2,
imgsz=imgsz_test,
conf_thres=0.001,
iou_thres=0.7,
model=attempt_load(m, device).half(),
single_cls=single_cls,
dataloader=testloader,

Loading…
取消
儲存