ImportError: cannot import name 'load_url_dist' from 'mmcv.runner.checkpoint' (/home/ai-pose/anaconda3/envs/open-mmlab/lib/python3.7/site-packages/mmcv-1.2.7-py3.7.egg/mmcv/runner/checkpoint.py)
Hi everyone. How can I fix this? This is my new task and lack of experience for this one. Thanks in Advance.
Hi everyone. How can I fix this? This is my new task and lack of experience for this one. Thanks in Advance.
I also encountered the same problem. Have you solved it?How did you solve it?
Hello bro just downgrade the mmcv version to 0.4.3
Thank you for your reply and wish you all the best
| | fanfan_fighting | | @.*** | 签名由网易邮箱大师定制 On 3/16/2021 @.***> wrote:
Hello bro just downgrade the mmcv version to 0.4.3
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
pip install mmcv==0.4.3 worked!
this didn't work for me. i got the error:
AssertionError: MMCV==0.4.3 is used but incompatible. Please install mmcv>=1.3.17, <=1.5.0.
so i went in and looked at the mmcv files to figure out the equivalent of 'load_url_dist' in the version i installed, which was 1.4.8, the latest available on pip. and i'm pretty sure it's 'load_from_http'. i substituted 'load_url_dist' for 'load_from_http' on checkpoint.py and the error is gone.
however, i am still dealing with a multitude of errors and haven't been able to fully ascertain if that solved the problem, so no guarantees here. this is just the best i could do. installing mmcv-full didn't work, no version between 1.3.17 and 1.5.0 worked.
谢谢,邮件已收到