summaryrefslogtreecommitdiff
path: root/models/model.py
diff options
context:
space:
mode:
authorJordan Gong <jordan.gong@protonmail.com>2021-02-19 20:36:31 +0800
committerJordan Gong <jordan.gong@protonmail.com>2021-02-19 20:36:31 +0800
commit4572598bca01d29b039f7d5291b08b53c1419528 (patch)
treee05caf231579f7ec063d4b6b4536e9c1200e5bab /models/model.py
parent5b3a324df1ee4c3789667f0f98bdfa5187393680 (diff)
parent969030864495e7c2b419400fd81ee0fad83de41e (diff)
Merge branch 'python3.8' into data_parallel_py3.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 75f243c..ba87e3c 100644
--- a/models/model.py
+++ b/models/model.py
@@ -404,7 +404,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']