summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-02-19 16:18:24 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-02-19 16:18:24 +0800
commit4aa9044122878a8e2b887a8b170c036983431559 (patch)
treecb6acc91cd8fdf96e99626cd8a78de6d9827fba9
parent6162bd8dc3984057087321f76a813dd6a618d678 (diff)
Allow evaluate unfinished model
-rw-r--r--models/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/model.py b/models/model.py
index 3f5d283..82d6461 100644
--- a/models/model.py
+++ b/models/model.py
@@ -396,7 +396,7 @@ class Model:
for (iter_, (condition, selector)) in zip(
iters, dataset_selectors.items()
):
- self.curr_iter = self.total_iter = iter_
+ self.curr_iter = iter_
self._dataset_sig = self._make_signature(
dict(**dataset_config, **selector),
popped_keys=['root_dir', 'cache_on']