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

ImportError: cannot import name 'get_dist_info' #27

Open
huynhtnhut97 opened this issue Mar 6, 2020 · 3 comments
Open

ImportError: cannot import name 'get_dist_info' #27

huynhtnhut97 opened this issue Mar 6, 2020 · 3 comments

Comments

@huynhtnhut97
Copy link

As far as the adaptability is concerned, I cloned the mmdetection @ 6e48d28 to facilitate the Point Set Representation for Object Detection. Paradoxically, I encounter an undeniable error which is "ImportError: cannot import name 'get_dist_info". According to the mmdetection, this issue could be solved by updating the last version of mmdetection. Since I have to use the exact version that is suitable for RepPoints git, how I could tackle this issues ?
image

@sherrygp
Copy link

@huynhtnhut97
Modify get_dist_info to get_host_info in mmcv.runner.utils.py

@ghost
Copy link

ghost commented Jun 24, 2020

This file /opt/conda/lib/python3.6/site-packages/mmcv/runner/utils.py already has get_host_info but I still get the same error

@laisimiao
Copy link

@huynhtnhut97 using mmcv.runner.dist_utils for @ 6e48d28 version of mmdetection,

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

3 participants