티스토리 뷰
This always causes problems...
1) fail to build mmcv from the source, which was recommended by the egohumans repo
2) Why don't I just use pip and mim to install mmcv, mmdet as usual.
3) The usual mmcv installation failed to import nms
4) Ok, I found out that there is something called mmcv-full and I needed that for nms import (and potentially other functions that egohumans use)
5) Failed to install mmcv-full due to some gcc error. It was a version mismatch issue between Pytorch and mmcv-full.
6) Downgraded pytorch 2.5 to 2.4, reinstalled the latest compatible mmcv that has mmcv-full in it according to this:
https://mmcv.readthedocs.io/en/latest/get_started/installation.html#install-mmcv-full
pip install mmcv==2.2.0 -f https://download.openmmlab.com/mmcv/dist/cu121/torch2.4/index.html
7) Still cannot import nms. Wtf. --no-cache --force-reinstall didn't work. Pip was keeping the old version mmcv 1.7 no matter what I do. Just did rm -rf .../site-packages/mmcv* and reinstalled.
8) It worked.
9) If you have to use some old versions of pytorch and mmcv, make sure to remove all mmcv packages and reinstall https://github.com/open-mmlab/mmdetection/issues/3271#issuecomment-1683581904
ModuleNotFoundError: No module named 'mmcv._ext' · Issue #3271 · open-mmlab/mmdetection
Someone has already post this issue earlier, and I just wanna say I got the same issue. I'm using mmedetection on colab. I installed the program as usual, but when I tried to import inference_detec...
github.com
그러고 또 문제가있음. 진짜 얘네 어이가 없네. 뭔 api 관리를 이따위로 하냐. 그냥 torch version 낮추고 처음부터 다시 깔음.


'Research (연구 관련)' 카테고리의 다른 글
Generative AI - Diffusion / Lecture 1 (0) | 2024.11.27 |
---|---|
Transformer / Large models (0) | 2024.11.25 |
Visualizing multiple people in the same world frame (0) | 2024.10.13 |
Get depth from ARIA glasses (0) | 2024.10.08 |
Retargeting human hands to robot hands (0) | 2024.09.30 |
- Total
- Today
- Yesterday
- deep learning
- Machine Learning
- spin
- nerf
- 피트니스
- world coordinate
- 인터뷰
- camera coordinate
- 비전
- 컴퓨터비젼
- focal length
- 헬스
- 에디톨로지
- Docker
- 2d pose
- Interview
- Virtual Camera
- 컴퓨터비전
- 문경식
- Generative model
- 머신러닝
- Transformation
- Pose2Mesh
- demo
- nohup
- VAE
- densepose
- pytorch
- part segmentation
- pyrender
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |