This commit is contained in:
Glenn Jocher 2019-08-20 13:39:39 +02:00
parent 3147fd62e6
commit ac2b9d580d
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ def train(cfg,
batch_size=batch_size,
img_size=opt.img_size,
model=model,
conf_thres=0.001 if final_epoch else 0.1, # 0.1 for speed
conf_thres=0.001 if final_epoch and epoch > 0 else 0.1, # 0.1 for speed
save_json=final_epoch and 'coco.data' in data)
# Write epoch results