Spaces:
Running
Running
update
Browse files
examples/frcrn/step_2_train_model.py
CHANGED
@@ -183,7 +183,7 @@ def main():
|
|
183 |
step_idx = int(step_idx)
|
184 |
if step_idx > last_step_idx:
|
185 |
last_step_idx = step_idx
|
186 |
-
last_epoch =
|
187 |
|
188 |
if last_step_idx != -1:
|
189 |
logger.info(f"resume from steps-{last_step_idx}.")
|
|
|
183 |
step_idx = int(step_idx)
|
184 |
if step_idx > last_step_idx:
|
185 |
last_step_idx = step_idx
|
186 |
+
last_epoch = 0
|
187 |
|
188 |
if last_step_idx != -1:
|
189 |
logger.info(f"resume from steps-{last_step_idx}.")
|