This commit is contained in:
Glenn Jocher 2019-12-01 13:49:38 -08:00
parent 033c51ed90
commit 92690302bb
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ hyp = {'giou': 3.31, # giou loss gain
# Overwrite hyp with hyp*.txt (optional)
f = glob.glob('hyp*.txt')
if f:
print('Using %s' % f)
for k, v in zip(hyp.keys(), np.loadtxt(f[0])):
hyp[k] = v