default test --conf to 0.001
This commit is contained in:
parent
98271eb6ed
commit
992e0d7cb4
2
train.py
2
train.py
|
@ -315,8 +315,6 @@ def train():
|
||||||
batch_size=batch_size,
|
batch_size=batch_size,
|
||||||
img_size=img_size_test,
|
img_size=img_size_test,
|
||||||
model=ema.ema,
|
model=ema.ema,
|
||||||
conf_thres=0.001 if final_epoch else 0.01, # 0.001 for best mAP, 0.01 for speed
|
|
||||||
iou_thres=0.6,
|
|
||||||
save_json=final_epoch and is_coco,
|
save_json=final_epoch and is_coco,
|
||||||
single_cls=opt.single_cls,
|
single_cls=opt.single_cls,
|
||||||
dataloader=testloader)
|
dataloader=testloader)
|
||||||
|
|
Loading…
Reference in New Issue