autogluon / autogluon

Fast and Accurate ML in 3 Lines of Code
https://auto.gluon.ai/
Apache License 2.0
8.04k stars 928 forks source link

[BUG] !mim install "mmcv==2.1.0" not working/installing #Multimodal #4421

Closed allandclive closed 2 months ago

allandclive commented 2 months ago

brave_screenshot_colab research google com (1) brave_screenshot_colab research google com

FANGAreNotGnu commented 2 months ago

Hi @allandclive, could you provide the complete error message?

allandclive commented 2 months ago

Hi @allandclive, could you provide the complete error message? I have tried this object detection tutorial on both colab and kaggle, it gets stuck in endless "installation of mmcv"

https://colab.research.google.com/github/autogluon/autogluon/blob/stable/docs/tutorials/multimodal/object_detection/advanced/finetune_coco.ipynb#scrollTo=f83f7cb0

FANGAreNotGnu commented 2 months ago

For google Colab this works:

!pip install autogluon.multimodal
!pip install torch==2.1.0 torchvision==0.16.0 torchaudio==2.1.0
!pip install "mmcv==2.1.0" -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.1.0/index.html
!pip install "mmdet==3.2.0"
FANGAreNotGnu commented 2 months ago

Update the tutorial in https://github.com/autogluon/autogluon/pull/4447. Closing the issue. Feel free to reopen it if the problem still exists.