updates
This commit is contained in:
parent
3147fd62e6
commit
ac2b9d580d
2
train.py
2
train.py
|
@ -301,7 +301,7 @@ def train(cfg,
|
||||||
batch_size=batch_size,
|
batch_size=batch_size,
|
||||||
img_size=opt.img_size,
|
img_size=opt.img_size,
|
||||||
model=model,
|
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)
|
save_json=final_epoch and 'coco.data' in data)
|
||||||
|
|
||||||
# Write epoch results
|
# Write epoch results
|
||||||
|
|
Loading…
Reference in New Issue