Fixed tiny bug when training with --full
This commit is contained in:
parent
54e9f0e8fc
commit
b854b38349
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user