Notice
Recent Posts
Recent Comments
Link
- Today
- Total
엔지니어스 - Engineeus
[Ubuntu] Yolov3 Python으로 실행시키기 (엄청 쉬움) 본문
728x90
- working directory 생성
working directory 생성
cd 'working directory'
- 깃클론
git clone https://github.com/zhaoyanglijoey/yolov3.git
- 웨이트 파일 받기
wget https://pjreddie.com/media/files/yolov3.weights
- opencv 설치
아래 세팅이 모두 되어 있어야 함
https://mickael-k.tistory.com/211
- torch 설치
pip install torch
- 영상 위치 지정 하여 실행
- GPU (쿠다 깔려 있을 경우)
영상) python3 detector.py -i ../../00_video/output_video_6.avi -v --cuda
웹캠) python3 detector.py -v -w -i 0 --cuda
-CPU
영상) python3 detector.py -i ../../00_video/output_video_6.avi -v
웹캠) python3 detector.py -v -w -i 0
<참고>
'Autonomous Tech. > Installation' 카테고리의 다른 글
[Ubuntu] Graphic card 460 / CUDA 11.01 / CuDNN 8.1 / OpenCV 4 최신으로 설치 하기! (초간단) (0) | 2021.07.28 |
---|---|
[Ubuntu] OpenCV 설치하기 (초간단) in Ubuntu 20.02, Python3.8 (0) | 2021.07.16 |
ubuntu 20.02 한글 Korean(hangul) 간단 설정 (0) | 2021.07.16 |
[Windows] OpenCV 3 설치 방법 (Visual Studio 2019) (0) | 2021.07.09 |
NVIDIA 그래픽 드라이버 옛날 버전 설치 (0) | 2021.05.12 |
Comments