This commit is contained in:
Glenn Jocher 2019-12-01 13:51:55 -08:00
parent 92690302bb
commit d6a7a614dc
1 changed files with 1 additions and 1 deletions

View File

@ -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