This commit is contained in:
Glenn Jocher 2020-03-04 16:33:14 -08:00
parent 4a5159710f
commit 8b6c8a5318
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ def train():
# Prebias
if prebias:
ne = 3 # number of prebias epochs
ne = max(round(30 / nb), 3) # number of prebias epochs
ps = np.interp(epoch, [0, ne], [0.1, hyp['lr0'] * 2]), \
np.interp(epoch, [0, ne], [0.9, hyp['momentum']]) # prebias settings (lr=0.1, momentum=0.9)
if epoch == ne: