From b854b38349f6fafb4d8b2818d1ae8bc050b71797 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Thu, 3 Feb 2022 15:24:06 +0100 Subject: [PATCH] Fixed tiny bug when training with --full --- caliGraph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/caliGraph.py b/caliGraph.py index 1551a00..102ea41 100755 --- a/caliGraph.py +++ b/caliGraph.py @@ -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)