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.
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.