summaryrefslogtreecommitdiff
path: root/eval.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-01-23 00:41:30 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-01-23 00:41:30 +0800
commitf8fe82326479d4ea62d7da3dd8f25f1c09cf11bc (patch)
treeb8cd0414a86eb8be8660e76bfca4764b5766ce59 /eval.py
parentd750dd9dafe3cda3b1331ad2bfecb53c8c2b1267 (diff)
parentf3321b6782aff20df2c029239cc0f8b9a59ffde7 (diff)
Merge branch 'master' into python3.8
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})