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

Issue with DistPersonDetector in Person Detection #30

Open
dnaveenr opened this issue May 15, 2022 · 0 comments
Open

Issue with DistPersonDetector in Person Detection #30

dnaveenr opened this issue May 15, 2022 · 0 comments

Comments

@dnaveenr
Copy link

Hello,

I've tried out the DistPersonDetector in persondetector.py. I get the following error:

Traceback (most recent call last):
  File "person_detection_multi_gpu.py", line 15, in <module>
    detector = DistPersonDetector('rcnn', cfg, weight_det)
  File "/movienet/tools/detector/persondetector.py", line 136, in __init__
    broadcast_buffers=False)
  File "/lib/python3.7/site-packages/torch/nn/parallel/distributed.py", line 255, in __init__
    self.process_group = _get_default_group()
  File "/lib/python3.7/site-packages/torch/distributed/distributed_c10d.py", line 262, in _get_default_group
    raise RuntimeError("Default process group has not been initialized, "
RuntimeError: Default process group has not been initialized, please make sure to call init_process_group.

Any inputs on how we can get this working and the correct way to initialize init_process_group().

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