Install all the Dependencies that you need to run alexeyab/darknet/yolov4 on your own machine.
10K+
A Docker image containing all the dependencies you need to run yolov4 with GPUs.
https://github.com/neverleave0916/docker-yolo_v4
中文教學(full Tutorial):https://hackmd.io/@neverleave0916/YOLOv4 (可跳過安裝環境,由 3.測試YOLOv4 開始實作)
Last updated: 2022/2/1 17:52
| Software | Version | Version |
|---|---|---|
| Ubuntu | 18.04 | 20.04 |
| Docker | 19.03.8 | 20.10.5 |
| Nvidia Driver | 440.82 | 450.102 |
| CUDA | 10.2 | 11.0 |
You may use the
latestorautotag to specify the image you need.
latestis the original image that I generated manually. (2020.07 build notes)
autois the image that automatic build from this DockerFile. (2022.02)
auto image does not contain VNC serverdocker run --gpus all --ipc=host -it -p 8888:8888 -p 5901:5901 neverleave0916/yolo_v4:auto
git clone https://github.com/AlexeyAB/darknet
chmod -R 777 darknet/ #This step is important
You can follow the AlexeyAB/darknet tutorial if you want, below are the steps that I use, because I kept getting errors in the AlexeyAB/darknet tutorial.
cd darknet
vim Makefile
GPU=1
CUDNN=1
CUDNN_HALF=1
OPENCV=1
AVX=0
OPENMP=0
LIBSO=1
ZED_CAMERA=0 # ZED SDK 3.0 and above
ZED_CAMERA_v2_8=0 # ZED SDK 2.X
make
wget https://github.com/AlexeyAB/darknet/releases/download/darknet_yolo_v3_optimal/yolov4.weights
./darknet detector test cfg/coco.data cfg/yolov4.cfg yolov4.weights data/person.jpg -i 0 -thresh 0.25 -dont_show
If succeed, you will get predictions.jpg in your folder.
Content type
Image
Digest
Size
3.8 GB
Last updated
about 6 years ago
docker pull neverleave0916/yolo_v4