Fixed tiny bug when training with --full

This commit is contained in:
Dominik Moritz Roth 2022-02-03 15:24:06 +01:00
parent 54e9f0e8fc
commit b854b38349

View File

@ -957,6 +957,7 @@ def train(initGamma, full=True):
if full:
for wt in weights:
weights[wt] = random.random()
saveWeights(weights)
gamma = initGamma
books = loadBooksFromDB()
bestWeights = copy.copy(weights)