Closed zhongzishi closed 2 years ago
After multiple retries of installing depencies, finally I manged to make it work again :)
Several points here:
1, mmcv-full, the best way to install it on Colab is via pip, but need to follow their official installation documentation, since colab has CUDA11.3 and torch 1.11 pre-installed, the mmcv-full installation should be done in this way:
pip install mmcv-full=={mmcv_version} -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.11.0/index.html
Otherwise, the building always fails.
2, 'KeyError center' issue comes from incompatibility with the latest version (0.26) of mmpose, installing 0.25.1 fixes it.
Hi, @zhongzishi Thank you for the info! I fixed the notebook.
Hi, the colab notebook looks broken. I used it about 2 weeks ago with out any problem. Basically in dependcie installing phase, when executing "mim install mmcv-full", colab will ask if I want to use an older version to replace pre-installed newer version. I had to choose to install older version to make the detector works.
I retried the colab notebook yesterday, this time if I still chose to replace preinstalled v1.5.0 by v.1.4.2, it will stuck at "building wheel for mmcv-full" for 20 mins and fail. If I chose not to replace preinstalled version and skip mmcv-full, the dependcie installing phase could be completed without error. But when I ran the detector, I got an error "KeyError: 'center'"
Please help.