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

ValueError: not enough values to unpack (expected 2, got 1) #11

Open
sankexin opened this issue Apr 25, 2024 · 2 comments
Open

ValueError: not enough values to unpack (expected 2, got 1) #11

sankexin opened this issue Apr 25, 2024 · 2 comments

Comments

@sankexin
Copy link

python train.py

加载自定义词典成功
加载自定义词典成功
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0425 17:05:53.758841 4566 ProcessGroupNCCL.cpp:686] [Rank 0] ProcessGroupNCCL initialization options:NCCL_ASYNC_ERROR_HANDLING: 1, NCCL_DESYNC_DEBUG: 0, NCCL_ENABLE_TIMING: 0, NCCL_BLOCKING_WAIT: 0, TIMEOUT(ms): 1800000, USE_HIGH_PRIORITY_STREAM: 0, TORCH_DISTRIBUTED_DEBUG: OFF, NCCL_DEBUG: OFF, ID=187465152
Traceback (most recent call last):
File "train.py", line 106, in
torch.multiprocessing.spawn(train, args=(world_size,), nprocs=world_size, join=True)
File "/usr/local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 246, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method="spawn")
File "/usr/local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 202, in start_processes
while not context.join():
File "/usr/local/lib/python3.8/site-packages/torch/multiprocessing/spawn.py", line 145, in join
raise ProcessExitedException(
torch.multiprocessing.spawn.ProcessExitedException: process 0 terminated with signal SIGBUS

env

pip list | grep torch

apex 0.1+2a4864d.abi0.dtk2310.torch2.1
torch 2.1.0a0+git793d2b5.abi0.dtk2310
torchaudio 2.1.2+4b32183.abi0.dtk2310.torch2.1.0a0
torchvision 0.16.0+git267eff6.abi0.dtk2310.torch2.1.0

@sankexin sankexin changed the title torch.multiprocessing.spawn.ProcessExitedException: process 0 terminated with signal SIGBUS ValueError: not enough values to unpack (expected 2, got 1) Apr 25, 2024
@sankexin
Copy link
Author

mv checkpoints/vocoder.pt ./

@KdaiP
Copy link
Owner

KdaiP commented Sep 13, 2024

mv checkpoints/vocoder.pt ./

Thank you for your issue report!

The problem comes from the file load.py. This has been fixed in the latest version. In the new version, you no longer need to delete checkpoints/vocoder.pt.

Let me know if you encounter any other issues!

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

2 participants