summaryrefslogtreecommitdiff
path: root/models/model.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-02-19 20:35:53 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-02-19 20:35:53 +0800
commit969030864495e7c2b419400fd81ee0fad83de41e (patch)
tree9b9ccb7c9f2db60b526bdf3ffce60aded7c22608 /models/model.py
parent6b3b281bb91f9550969322e027c15f348750c726 (diff)
parent4aa9044122878a8e2b887a8b170c036983431559 (diff)
Merge branch 'master' into python3.8
Diffstat (limited to 'models/model.py')
-rw-r--r--models/model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/model.py b/models/model.py
index 75e478e..2b7e401 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']