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

AssertionError: Default process group is not initialized #98

Open
kukby opened this issue May 16, 2020 · 1 comment
Open

AssertionError: Default process group is not initialized #98

kukby opened this issue May 16, 2020 · 1 comment

Comments

@kukby
Copy link

kukby commented May 16, 2020

I have meet a problem, Can you solve it? Thanks!
Traceback (most recent call last):
File "train_autodeeplab.py", line 332, in
main()
File "train_autodeeplab.py", line 321, in main
trainer = Trainer(args)
File "train_autodeeplab.py", line 47, in init
self.train_loaderA, self.train_loaderB, self.val_loader, self.test_loader, self.nclass = make_data_loader(args, **kwargs)
File "/home/kukby/AutoML-new_master/dataloaders/init.py", line 13, in make_data_loader
sampler1 = torch.utils.data.distributed.DistributedSampler(train_set1)
File "/home/kukby/.local/lib/python3.6/site-packages/torch/utils/data/distributed.py", line 30, in init
num_replicas = dist.get_world_size()
File "/home/kukby/.local/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 584, in get_world_size
return _get_group_size(group)
File "/home/kukby/.local/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 200, in _get_group_size
_check_default_pg()
File "/home/kukby/.local/lib/python3.6/site-packages/torch/distributed/distributed_c10d.py", line 191, in _check_default_pg
"Default process group is not initialized"

@ntongzhi
Copy link

ntongzhi commented Jan 8, 2021

Have you solved the problem?Please help!

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