detectron2 install 방법
일반 터미널에서는 프로그램이 돌아가지만 virtual env -p →이런식으로 하고 해봤지만 안되었다..
DETECTRON2 설치 방법
conda create-n SOLO python=3.6
conda install conda
conda install pytorch==1.4.0 torchvision==0.5.0 cudatoolkit=10.1 -c pytorch
conda activate (SOLO)
#ninja
git clone git://github.com/ninja-build/ninja.git && cd ninja
git checkout release
#install detectron
git clone https://github.com/facebookresearch/detectron2.git
cd detectron2
python setup.py build develop (주의 사항 python -m pip install -e detectron2 → 어디서든 import 되게 하는거는 작동 x )
#install AdelaiDet(choose FCOS,M)
git clone https://github.com/aim-uofa/AdelaiDet.git
cd AdelaiDet
python setup.py build develop
#path
ninja/AdelaiDet/detectron2(두번째 detectron2, 첫번째 detectron2 x)
#base
interpreter path → conda
'딥러닝' 카테고리의 다른 글
[딥러닝][yolov5]custom dataset tutorial (0) | 2021.09.15 |
---|---|
[딥러닝] 데이터 포맷 (0) | 2021.09.01 |
[딥러닝]3d instance segmentation via multi-task metric learning 의 논문에 있는 dir_loss 구하기 (0) | 2021.07.30 |
[딥러닝]SOLO 논문 분석 및 구동 (0) | 2021.07.30 |