-
Notifications
You must be signed in to change notification settings - Fork 159
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' from 'mmcv.runner.utils' #11
Comments
I solved this issue by downgrading mmcv from 0.4.4 to 0.2.14 and the demo.py is running fine but there are no any bounding boxes on the result images. |
Which configuration file and pre-trained model did you use for the demo? |
I am using the following configuration file and the pre-trained model:
|
How are you running |
Oh yeah! I did not notice that. I changed the config file with that of Retinanet and now its working. Thank you very much. If I want to run this model with SSD300 or RetinaNet on mobile devices or Jetson, will it run efficiently in regard of inference time? Now I am thinking of trying it on Jetson. Also I was earlier trying running it on my PC without GPU but it was showing some cuda error: Thank you again. |
As of now Pedestron does not support a CPU-only version. #7 |
Okay thanks. |
Hi~How to downgrading mmcv from 0.4.4 to 0.2.14 ? |
@zhulishun you can downgrade it with |
|
Hi, I'm also facing the same issue while trying to do fine-tuning with cascade mask rcnn --> "ImportError: cannot import name 'get_dist_info' from 'mmcv.runner.utils' ". I'm following the colab notebook given by the authors which installs mmcv using the command --> "pip install mmcv==0.2.14". Still the problem persists. Please help me out, thanks in advance! |
Most probably it is still an installation issue, after installing mmcv did you compile Pedestron using the following command ? Secondly, juts have a look at the installation page and see if you have followed all the instructions correctly. |
When I run this command:
python tools/demo.py configs/elephant/cityperson/cascade_hrnet.py ./models_pretrained/epoch_5.pth.stu demo/ result_demo/
I am getting this error:
ImportError: cannot import name 'get_dist_info' from 'mmcv.runner.utils'
I have installed mmdetection as per your instructions and also tried for conda-instruction.
I updated mmcv as per the suggestions got online but nothing is working. Now my mmcv version is 0.4.4
The text was updated successfully, but these errors were encountered: