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

subprocess.CalledProcessError: Command '['D:\\Anaconda3\\envs\\pydiff\\python.exe', '-u', 'pydiff/train.py', '--local_rank=0', '-opt', 'options/train_v2.yaml', '--launcher', 'pytorch']' returned non-zero exit status 1. #467

Open
loveTexas opened this issue Mar 2, 2024 · 0 comments

Comments

@loveTexas
Copy link

I am running a python project, but there is a problem that I can't solve myself, so I want to ask if there is a solution

Traceback (most recent call last):
File "pydiff/train.py", line 11, in
train_pipeline(root_path)
File "d:\code\pydiff-main\basicsr-light\basicsr\train.py", line 93, in train_pipeline
opt, args = parse_options(root_path, is_train=True)
File "d:\code\pydiff-main\basicsr-light\basicsr\utils\options.py", line 106, in parse_options
init_dist(args.launcher)
File "d:\code\pydiff-main\basicsr-light\basicsr\utils\dist_util.py", line 14, in init_dist
_init_dist_pytorch(backend, **kwargs)
File "d:\code\pydiff-main\basicsr-light\basicsr\utils\dist_util.py", line 25, in _init_dist_pytorch
dist.init_process_group(backend=backend, **kwargs)
File "D:\Anaconda3\envs\pydiff\lib\site-packages\torch\distributed\distributed_c10d.py", line 421, in init_process_group
init_method, rank, world_size, timeout=timeout
File "D:\Anaconda3\envs\pydiff\lib\site-packages\torch\distributed\rendezvous.py", line 82, in rendezvous
raise RuntimeError("No rendezvous handler for {}://".format(result.scheme))
RuntimeError: No rendezvous handler for env://
Traceback (most recent call last):
File "D:\Anaconda3\envs\pydiff\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\Anaconda3\envs\pydiff\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\Anaconda3\envs\pydiff\lib\site-packages\torch\distributed\launch.py", line 260, in
main()
File "D:\Anaconda3\envs\pydiff\lib\site-packages\torch\distributed\launch.py", line 256, in main
cmd=cmd)
subprocess.CalledProcessError: Command '['D:\Anaconda3\envs\pydiff\python.exe', '-u', 'pydiff/train.py', '--local_rank=0', '-opt', 'options/train_v2.yaml', '--launcher', 'pytorch']' returned non-zero exit status 1.

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