Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初始化阶段不装载netD权重是有什么玄机?还是笔误啊 #37

Closed
is opened this issue Apr 15, 2024 · 1 comment
Closed

Comments

@is
Copy link

is commented Apr 15, 2024

emotional-vits/train_ms.py

Lines 104 to 115 in 09e1654

if ckptG is not None:
_, _, _, epoch_str = utils.load_checkpoint(ckptG, net_g, optim_g, is_old=True)
print("加载原版VITS模型G记录点成功")
else:
_, _, _, epoch_str = utils.load_checkpoint(utils.latest_checkpoint_path(hps.model_dir, "G_*.pth"), net_g,
optim_g)
if ckptD is not None:
_, _, _, epoch_str = utils.load_checkpoint(ckptG, net_g, optim_g, is_old=True)
print("加载原版VITS模型D记录点成功")
else:
_, _, _, epoch_str = utils.load_checkpoint(utils.latest_checkpoint_path(hps.model_dir, "D_*.pth"), net_d,
optim_d)

@is
Copy link
Author

is commented Apr 16, 2024

看到 PR #8 了。

@is is closed this as completed Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant