RVC-Boss / GPT-SoVITS

1 min voice data can also be used to train a good TTS model! (few shot voice cloning)
MIT License
33.92k stars 3.89k forks source link

SoVITS训练卡在这步不动Detected call of `lr_scheduler.step()` before `optimizer.step()` #857

Open singsongs7731 opened 6 months ago

singsongs7731 commented 6 months ago

wav_data_len: 99 100%|██████████████████████████████████████████████████████████████████████████████████████████| 99/99 [00:00<?, ?it/s] skipped_phone: 0 , skipped_dur: 0 total left: 99 F:\GPT-SoVITS-main\runtime\lib\site-packages\torch\nn\utils\weight_norm.py:28: UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm. warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.") ssl_proj.weight not requires_grad ssl_proj.bias not requires_grad F:\GPT-SoVITS-main\runtime\lib\site-packages\transformers\utils\generic.py:441: UserWarning: torch.utils._pytree._register_pytree_node is deprecated. Please use torch.utils._pytree.register_pytree_node instead. _torch_pytree._register_pytree_node( INFO:ym33:loaded pretrained GPT_SoVITS/pretrained_models/s2G488k.pth

INFO:ym33:loaded pretrained GPT_SoVITS/pretrained_models/s2D488k.pth F:\GPT-SoVITS-main\runtime\lib\site-packages\torch\optim\lr_scheduler.py:143: UserWarning: Detected call of `lr_scheduler.step()` before `optimizer.step()`. In PyTorch 1.1.0 and later, you should call them in the opposite order: `optimizer.step()` before `lr_scheduler.step()`. Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-learning-rate warnings.warn("Detected call of `lr_scheduler.step()` before `optimizer.step()`. "
singsongs7731 commented 6 months ago

解决了吗

XXXXRT666 commented 6 months ago

可以尝试一下关闭共享显存

AoInEng commented 6 months ago

同样的问题

2268190072 commented 5 months ago

有爸爸知道怎么解决吗

XXXXRT666 commented 5 months ago

开大虚拟内存