mirror of
https://github.com/svc-develop-team/so-vits-svc.git
synced 2025-01-09 04:27:31 +08:00
fix: E722
This commit is contained in:
parent
014986f2e3
commit
136b230850
2
train.py
2
train.py
@ -99,7 +99,7 @@ def run(rank, n_gpus, hps):
|
||||
name=utils.latest_checkpoint_path(hps.model_dir, "D_*.pth")
|
||||
global_step=int(name[name.rfind("_")+1:name.rfind(".")])+1
|
||||
#global_step = (epoch_str - 1) * len(train_loader)
|
||||
except AssertionError:
|
||||
except Exception:
|
||||
print("load old checkpoint failed...")
|
||||
epoch_str = 1
|
||||
global_step = 0
|
||||
|
Loading…
Reference in New Issue
Block a user