RVC-Project / RVC-Project/Retrieval-based-Voice-Conversion-WebUI
训练失败,The server socket has failed to bind to [kodachi]:51545 (system error: 10013
Personne n'a encore pris cette issue.
- Langage dominant
- Python
- Étoiles
- 38.4k
- Forks
- 5.3k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
启动web页面后,只改了实验名和训练文件夹路径,然后点击一键训练。后面报错提示端口占用,已经查过了,并没有程序占用51545端口。
系统是windows11,kodachi是我电脑名字
下面是log
INFO:qi:{'train': {'log_interval': 200, 'seed': 1234, 'epochs': 20000, 'learning_rate': 0.0001, 'betas': [0.8, 0.99], 'eps': 1e-09, 'batch_size': 3, 'fp16_run': False, 'lr_decay': 0.999875, 'segment_size': 12800, 'init_lr_ratio': 1, 'warmup_epochs': 0, 'c_mel': 45, 'c_kl': 1.0}, 'data': {'max_wav_value': 32768.0, 'sampling_rate': 40000, 'filter_length': 2048, 'hop_length': 400, 'win_length': 2048, 'n_mel_channels': 125, 'mel_fmin': 0.0, 'mel_fmax': None, 'training_files': './logs\qi/filelist.txt'}, 'model': {'inter_channels': 192, 'hidden_channels': 192, 'filter_channels': 768, 'n_heads': 2, 'n_layers': 6, 'kernel_size': 3, 'p_dropout': 0, 'resblock': '1', 'resblock_kernel_sizes': [3, 7, 11], 'resblock_dilation_sizes': [[1, 3, 5], [1, 3, 5], [1, 3, 5]], 'upsample_rates': [10, 10, 2, 2], 'upsample_initial_channel': 512, 'upsample_kernel_sizes': [16, 16, 4, 4], 'use_spectral_norm': False, 'gin_channels': 256, 'spk_embed_dim': 109}, 'model_dir': './logs\qi', 'experiment_dir': './logs\qi', 'save_every_epoch': 5, 'name': 'qi', 'total_epoch': 20, 'pretrainG': 'pretrained/f0G40k.pth', 'pretrainD': 'pretrained/f0D40k.pth', 'gpus': '0', 'sample_rate': '40k', 'if_f0': 1, 'if_latest': 0, 'if_cache_data_in_gpu': 0}
WARNING:qi:G:\rvc\RVC-beta\train is not a git repository, therefore hash value comparison will be ignored.
[W C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\distributed\c10d\socket.cpp:426] [c10d] The server socket has failed to bind to [kodachi]:51545 (system error: 10013 - 以一种访问权限不允许的方式做了一个访问套接 字的尝试。).
[W C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\distributed\c10d\socket.cpp:426] [c10d] The server socket has failed to bind to kodachi:51545 (system error: 10013 - 以一种访问权限不允许的方式做了一个访问套接字 的尝试。).
[E C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\distributed\c10d\socket.cpp:462] [c10d] The server socket has failed to listen on any local network address.
Traceback (most recent call last):
File "G:\rvc\RVC-beta\train_nsf_sim_cache_sid_load_pretrain.py", line 534, in
main()
File "G:\rvc\RVC-beta\train_nsf_sim_cache_sid_load_pretrain.py", line 50, in main
mp.spawn(
File "G:\rvc\RVC-beta\runtime\lib\site-packages\torch\multiprocessing\spawn.py", line 239, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "G:\rvc\RVC-beta\runtime\lib\site-packages\torch\multiprocessing\spawn.py", line 197, in start_processes
while not context.join():
File "G:\rvc\RVC-beta\runtime\lib\site-packages\torch\multiprocessing\spawn.py", line 160, in join
raise ProcessRaisedException(msg, error_index, failed_process.pid)
torch.multiprocessing.spawn.ProcessRaisedException:
-- Process 0 terminated with the following error:
Traceback (most recent call last):
File "G:\rvc\RVC-beta\runtime\lib\site-packages\torch\multiprocessing\spawn.py", line 69, in _wrap
fn(i, *args)
File "G:\rvc\RVC-beta\train_nsf_sim_cache_sid_load_pretrain.py", line 69, in run
dist.init_process_group(
File "G:\rvc\RVC-beta\runtime\lib\site-packages\torch\distributed\distributed_c10d.py", line 888, in init_process_group
store, rank, world_size = next(rendezvous_iterator)
File "G:\rvc\RVC-beta\runtime\lib\site-packages\torch\distributed\rendezvous.py", line 245, in _env_rendezvous_handler store = _create_c10d_store(master_addr, master_port, rank, world_size, timeout)
File "G:\rvc\RVC-beta\runtime\lib\site-packages\torch\distributed\rendezvous.py", line 176, in _create_c10d_store
return TCPStore(
RuntimeError
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par train_nsf_sim_cache_sid_load_pretrain.py, en particulier main() autour de la ligne 50 et run() autour de la ligne 69, où torch.distributed.init_process_group est appelé. Reproduisez le flux d’entraînement en un clic sous Windows 11 et étudiez l’échec de liaison de TCPStore signalé sur le port 51545. Le travail est considéré comme terminé lorsque l’entraînement démarre sans l’erreur de liaison du socket et que la cause ou la configuration requise est documentée.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- python, pytorch
- Domaine
- distributed-systems, machine-learning
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 30/100