updates
This commit is contained in:
parent
92690302bb
commit
d6a7a614dc
2
train.py
2
train.py
|
@ -43,7 +43,7 @@ hyp = {'giou': 3.31, # giou loss gain
|
||||||
# Overwrite hyp with hyp*.txt (optional)
|
# Overwrite hyp with hyp*.txt (optional)
|
||||||
f = glob.glob('hyp*.txt')
|
f = glob.glob('hyp*.txt')
|
||||||
if f:
|
if f:
|
||||||
print('Using %s' % f)
|
print('Using %s' % f[0])
|
||||||
for k, v in zip(hyp.keys(), np.loadtxt(f[0])):
|
for k, v in zip(hyp.keys(), np.loadtxt(f[0])):
|
||||||
hyp[k] = v
|
hyp[k] = v
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue