Recent Posts
«   2025/05   »
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 31
Today
Total
관리 메뉴

코드민수

Windows10 Detectron2 설치 방법 본문

[Python]/환경설정

Windows10 Detectron2 설치 방법

코드민수 2023. 3. 28. 16:12
BIG

1. Anaconda 설치 및 가상환경 생성

 

2. pytorch 설치

 

3. git 설치

 

4. cython & pycocotools 설치

pip install cython
pip install “git+https://github.com/philferriere/cocoapi.git#egg=pycocotools&subdirectory=PythonAPI”

 

5. Visual Studio 2019 설치

https://mindorizip.tistory.com/3

위 사이트 참고하여 설치했습니다.

 

기존에 깔려있던 환경이랑 충돌 나서 고생 좀 함

 

6. Detectron2 윈도우 버전 git clone

git clone https://github.com/DGMaxime/detectron2-windows.git

 

7. Detectron2 & OpenCV 설치

pip install -e .
pip install opencv-python

 

(추후 자세한 설치 과정 및 이미지 추가 예정)

LIST