Spaces:
Running
Running
update
Browse files
examples/conv_tasnet/step_2_train_model.py
CHANGED
@@ -252,6 +252,7 @@ def main():
|
|
252 |
|
253 |
total_steps = 0 if last_steps == -1 else last_steps
|
254 |
progress_bar_train = tqdm(
|
|
|
255 |
desc="Training; epoch-{}".format(idx_epoch),
|
256 |
)
|
257 |
for train_batch in train_data_loader:
|
|
|
252 |
|
253 |
total_steps = 0 if last_steps == -1 else last_steps
|
254 |
progress_bar_train = tqdm(
|
255 |
+
initial=total_steps,
|
256 |
desc="Training; epoch-{}".format(idx_epoch),
|
257 |
)
|
258 |
for train_batch in train_data_loader:
|