summaryrefslogtreecommitdiff
path: root/eval.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-01-23 00:47:46 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-01-23 00:47:46 +0800
commitafe615408c4003a513811d900fe3edd119a735a5 (patch)
tree7ab780ab400d3a768a52ab1446884d05f04e8119 /eval.py
parentc0c8299354bd41bfd668ff0fb3edb5997f590c5d (diff)
parenta040400d7caa267d4bfbe8e5520568806f92b3d4 (diff)
Merge branch 'python3.8' into python3.7
# Conflicts: # models/model.py
Diffstat (limited to 'eval.py')
-rw-r--r--eval.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.py b/eval.py
index 7b68220..ec48066 100644
--- a/eval.py
+++ b/eval.py
@@ -14,7 +14,7 @@ dataset_selectors = {
'cl': {'conditions': ClipConditions({r'nm-0\d', r'cl-0\d'})},
}
-accuracy = model.predict_all(config['model']['total_iter'], config['dataset'],
+accuracy = model.predict_all(config['model']['total_iters'], config['dataset'],
dataset_selectors, config['dataloader'])
rank = 5
np.set_printoptions(formatter={'float': '{:5.2f}'.format})