티스토리 뷰
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
그러고 또 문제가있음. 진짜 얘네 어이가 없네. 뭔 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
- 문경식
- spin
- 컴퓨터비젼
- 컴퓨터비전
- Generative model
- pyrender
- 피트니스
- focal length
- 비전
- 에디톨로지
- Virtual Camera
- Transformation
- camera coordinate
- pytorch
- nohup
- nerf
- 헬스
- densepose
- VAE
- demo
- world coordinate
- deep learning
- 머신러닝
- Machine Learning
- Pose2Mesh
- Docker
- part segmentation
- Interview
- 인터뷰
- 2d pose
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |