OpenGVLab / InternImage

[CVPR 2023 Highlight] InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutions
https://arxiv.org/abs/2211.05778
MIT License
2.48k stars 231 forks source link

mmcv.runner has been remove #206

Closed LiaoZihZrong closed 1 year ago

LiaoZihZrong commented 1 year ago

hello, when i install mmcv==2.0.x , find that mmcv remove runner from 2.0.x , but internImage image_demo.py import mmcv.runner this got error what should i do (install) ?

many thanks!

atamazian commented 1 year ago

Try using mmcv==1.7.1

LiaoZihZrong commented 1 year ago

Try using mmcv==1.7.1

But mmcv 1.7.1 has no mmcv.transforms

LiaoZihZrong commented 1 year ago

i remove pytorch, and install mmcv-full=1.5.0 pytorch=1.11 cuda=11.3 and it's all OK now