updates
This commit is contained in:
parent
798a7396f1
commit
c906047db3
4
train.py
4
train.py
|
@ -45,8 +45,8 @@ def train():
|
||||||
weights = opt.weights # initial training weights
|
weights = opt.weights # initial training weights
|
||||||
|
|
||||||
if 'pw' not in opt.arc: # remove BCELoss positive weights
|
if 'pw' not in opt.arc: # remove BCELoss positive weights
|
||||||
hyp['cls_pw'] = 0
|
hyp['cls_pw'] = 1.
|
||||||
hyp['obj_pw'] = 0
|
hyp['obj_pw'] = 1.
|
||||||
|
|
||||||
# Initialize
|
# Initialize
|
||||||
init_seeds()
|
init_seeds()
|
||||||
|
|
Loading…
Reference in New Issue