All Projects → karolmajek → darknet-pjreddie

karolmajek / darknet-pjreddie

Licence: other
Convolutional Neural Networks

Projects that are alternatives of or similar to darknet-pjreddie

Yolo 9000
YOLO9000: Better, Faster, Stronger - Real-Time Object Detection. 9000 classes!
Stars: ✭ 1,057 (+300.38%)
Mutual labels:  darknet, yolo2
VideoRecognition-realtime-autotrainer-alerts
State of the art object detection in real-time using YOLOV3 algorithm. Augmented with a process that allows easy training of the classifier as a plug & play solution . Provides alert if an item in an alert list is detected.
Stars: ✭ 36 (-86.36%)
Mutual labels:  darknet, yolo2
Tracking-with-darkflow
Real-time people Multitracker using YOLO v2 and deep_sort with tensorflow
Stars: ✭ 522 (+97.73%)
Mutual labels:  darknet, yolo2
Tracking With Darkflow
Real-time people Multitracker using YOLO v2 and deep_sort with tensorflow
Stars: ✭ 515 (+95.08%)
Mutual labels:  darknet, yolo2
Pytorch Caffe Darknet Convert
convert between pytorch, caffe prototxt/weights and darknet cfg/weights
Stars: ✭ 867 (+228.41%)
Mutual labels:  darknet, yolo2
Pytorch Yolo2
Convert https://pjreddie.com/darknet/yolo/ into pytorch
Stars: ✭ 941 (+256.44%)
Mutual labels:  darknet, yolo2
MXNet-YOLO
mxnet implementation of yolo and darknet2mxnet converter
Stars: ✭ 17 (-93.56%)
Mutual labels:  darknet, yolo2
Yolov2.pytorch
YOLOv2 algorithm reimplementation with pytorch
Stars: ✭ 31 (-88.26%)
Mutual labels:  darknet, yolo2
Yolo2 Pytorch
YOLOv2 in PyTorch
Stars: ✭ 1,393 (+427.65%)
Mutual labels:  darknet, yolo2
Php Opencv
php wrapper for opencv
Stars: ✭ 194 (-26.52%)
Mutual labels:  darknet
darknet-nnpack
Darknet with NNPACK
Stars: ✭ 302 (+14.39%)
Mutual labels:  darknet
Deepstream Yolo
NVIDIA DeepStream SDK 5.1 configuration for YOLO models
Stars: ✭ 166 (-37.12%)
Mutual labels:  darknet
Viseron
Self-hosted NVR with object detection
Stars: ✭ 192 (-27.27%)
Mutual labels:  darknet
morghulis
No description or website provided.
Stars: ✭ 18 (-93.18%)
Mutual labels:  darknet
Darknet face with landmark
加入关键点的darknet训练框架,轻量级的人脸检测,支持ncnn推理
Stars: ✭ 192 (-27.27%)
Mutual labels:  darknet
vehicle-rear
Vehicle-Rear: A New Dataset to Explore Feature Fusion For Vehicle Identification Using Convolutional Neural Networks
Stars: ✭ 99 (-62.5%)
Mutual labels:  darknet
Map
mean Average Precision - This code evaluates the performance of your neural net for object recognition.
Stars: ✭ 2,324 (+780.3%)
Mutual labels:  darknet
Yolov4 Cloud Tutorial
This repository walks you through how to Build and Run YOLOv4 Object Detections with Darknet in the Cloud with Google Colab.
Stars: ✭ 153 (-42.05%)
Mutual labels:  darknet
OpenCV-Flask
🐛 🐛 Opencv视频流传输到网页浏览器并做目标检测 🐛 🐛
Stars: ✭ 35 (-86.74%)
Mutual labels:  darknet
DIoU YOLO V3
📈📈📈【口罩佩戴检测数据训练 | 开源口罩检测数据集和预训练模型】Train D/CIoU_YOLO_V3 by darknet for object detection
Stars: ✭ 53 (-79.92%)
Mutual labels:  darknet

Darknet

Darknet is an open source neural network framework written in C and CUDA. It is fast, easy to install, and supports CPU and GPU computation.

For more information see the Darknet project website.

CUDNN 5,6 support

This code is prepared for CUDNN 6. If you want to use CUDNN 5 - change cudnnSetConvolution2dDescriptor_v4 to cudnnSetConvolution2dDescriptor

Results - 4K video

Dataset #1

Input 4K video: Download input video

Camera: Samsung S7

Watch 8K comparison on Youtube:

8K 4x YOLO (Tiny YOLO, VOC, COCO, YOLO9000) Object Detection #1


Dataset #2

Input 4K video: Download input video

Camera: Samsung S7

Watch 8K comparison on Youtube:

8K 4x YOLO (Tiny YOLO, VOC, COCO, YOLO9000) Object Detection #2


Dataset #3

Input 4K video: Download input video

Camera: Samsung S7

Watch 8K comparison on Youtube:

8K 4x YOLO (Tiny YOLO, VOC, COCO, YOLO9000) #3


Dataset #4

Input 4K video: Download input video

Camera: Samsung S7

Watch 8K comparison on Youtube:

8K 4x YOLO (Tiny YOLO, VOC, COCO, YOLO9000) #4


Webcam Demo!

Try it yourself:

  1. Build darknet
  2. Download weights
  3. Run webcam demos:
./webcam-coco.sh
./webcam-tiny-yolo.sh
./webcam-voc.sh
./webcam-yolo9000.sh

Build darknet

Edit Makefile to enable GPU, CUDNN and OpenCV:

GPU=1
CUDNN=1
OPENCV=1
DEBUG=0

Choose your CUDA architecture, example for GTX980M: (you can check it here CUDA Compute Capability)

ARCH=       -gencode arch=compute_52,code=[sm_52,compute_52]

Run make and you are ready!

Download weights

All weights are available at Darknet project website.

cd weights
wget https://pjreddie.com/media/files/yolo-voc.weights
wget -O yolo-coco.weights https://pjreddie.com/media/files/yolo.weights
wget https://pjreddie.com/media/files/tiny-yolo-voc.weights
wget https://pjreddie.com/media/files/yolo9000.weights

Architectures

YOLO COCO

layer filters size input output
0 conv 32 3 x 3 / 1 608 x 608 x 3 608 x 608 x 32
1 max 2 x 2 / 2 608 x 608 x 32 304 x 304 x 32
2 conv 64 3 x 3 / 1 304 x 304 x 32 304 x 304 x 64
3 max 2 x 2 / 2 304 x 304 x 64 152 x 152 x 64
4 conv 128 3 x 3 / 1 152 x 152 x 64 152 x 152 x 128
5 conv 64 1 x 1 / 1 152 x 152 x 128 152 x 152 x 64
6 conv 128 3 x 3 / 1 152 x 152 x 64 152 x 152 x 128
7 max 2 x 2 / 2 152 x 152 x 128 76 x 76 x 128
8 conv 256 3 x 3 / 1 76 x 76 x 128 76 x 76 x 256
9 conv 128 1 x 1 / 1 76 x 76 x 256 76 x 76 x 128
10 conv 256 3 x 3 / 1 76 x 76 x 128 76 x 76 x 256
11 max 2 x 2 / 2 76 x 76 x 256 38 x 38 x 256
12 conv 512 3 x 3 / 1 38 x 38 x 256 38 x 38 x 512
13 conv 256 1 x 1 / 1 38 x 38 x 512 38 x 38 x 256
14 conv 512 3 x 3 / 1 38 x 38 x 256 38 x 38 x 512
15 conv 256 1 x 1 / 1 38 x 38 x 512 38 x 38 x 256
16 conv 512 3 x 3 / 1 38 x 38 x 256 38 x 38 x 512
17 max 2 x 2 / 2 38 x 38 x 512 19 x 19 x 512
18 conv 1024 3 x 3 / 1 19 x 19 x 512 19 x 19 x1024
19 conv 512 1 x 1 / 1 19 x 19 x1024 19 x 19 x 512
20 conv 1024 3 x 3 / 1 19 x 19 x 512 19 x 19 x1024
21 conv 512 1 x 1 / 1 19 x 19 x1024 19 x 19 x 512
22 conv 1024 3 x 3 / 1 19 x 19 x 512 19 x 19 x1024
23 conv 1024 3 x 3 / 1 19 x 19 x1024 19 x 19 x1024
24 conv 1024 3 x 3 / 1 19 x 19 x1024 19 x 19 x1024
25 route 16
26 conv 64 1 x 1 / 1 38 x 38 x 512 38 x 38 x 64
27 reorg / 2 38 x 38 x 64 19 x 19 x 256
28 route 27 24
29 conv 1024 3 x 3 / 1 19 x 19 x1280 19 x 19 x1024
30 conv 425 1 x 1 / 1 19 x 19 x1024 19 x 19 x 425
31 detection

YOLO VOC

layer filters size input output
0 conv 32 3 x 3 / 1 416 x 416 x 3 416 x 416 x 32
1 max 2 x 2 / 2 416 x 416 x 32 208 x 208 x 32
2 conv 64 3 x 3 / 1 208 x 208 x 32 208 x 208 x 64
3 max 2 x 2 / 2 208 x 208 x 64 104 x 104 x 64
4 conv 128 3 x 3 / 1 104 x 104 x 64 104 x 104 x 128
5 conv 64 1 x 1 / 1 104 x 104 x 128 104 x 104 x 64
6 conv 128 3 x 3 / 1 104 x 104 x 64 104 x 104 x 128
7 max 2 x 2 / 2 104 x 104 x 128 52 x 52 x 128
8 conv 256 3 x 3 / 1 52 x 52 x 128 52 x 52 x 256
9 conv 128 1 x 1 / 1 52 x 52 x 256 52 x 52 x 128
10 conv 256 3 x 3 / 1 52 x 52 x 128 52 x 52 x 256
11 max 2 x 2 / 2 52 x 52 x 256 26 x 26 x 256
12 conv 512 3 x 3 / 1 26 x 26 x 256 26 x 26 x 512
13 conv 256 1 x 1 / 1 26 x 26 x 512 26 x 26 x 256
14 conv 512 3 x 3 / 1 26 x 26 x 256 26 x 26 x 512
15 conv 256 1 x 1 / 1 26 x 26 x 512 26 x 26 x 256
16 conv 512 3 x 3 / 1 26 x 26 x 256 26 x 26 x 512
17 max 2 x 2 / 2 26 x 26 x 512 13 x 13 x 512
18 conv 1024 3 x 3 / 1 13 x 13 x 512 13 x 13 x1024
19 conv 512 1 x 1 / 1 13 x 13 x1024 13 x 13 x 512
20 conv 1024 3 x 3 / 1 13 x 13 x 512 13 x 13 x1024
21 conv 512 1 x 1 / 1 13 x 13 x1024 13 x 13 x 512
22 conv 1024 3 x 3 / 1 13 x 13 x 512 13 x 13 x1024
23 conv 1024 3 x 3 / 1 13 x 13 x1024 13 x 13 x1024
24 conv 1024 3 x 3 / 1 13 x 13 x1024 13 x 13 x1024
25 route 16
26 conv 64 1 x 1 / 1 26 x 26 x 512 26 x 26 x 64
27 reorg / 2 26 x 26 x 64 13 x 13 x 256
28 route 27 24
29 conv 1024 3 x 3 / 1 13 x 13 x1280 13 x 13 x1024
30 conv 125 1 x 1 / 1 13 x 13 x1024 13 x 13 x 125
31 detection

Tiny YOLO VOC

layer filters size input output
0 conv 16 3 x 3 / 1 416 x 416 x 3 416 x 416 x 16
1 max 2 x 2 / 2 416 x 416 x 16 208 x 208 x 16
2 conv 32 3 x 3 / 1 208 x 208 x 16 208 x 208 x 32
3 max 2 x 2 / 2 208 x 208 x 32 104 x 104 x 32
4 conv 64 3 x 3 / 1 104 x 104 x 32 104 x 104 x 64
5 max 2 x 2 / 2 104 x 104 x 64 52 x 52 x 64
6 conv 128 3 x 3 / 1 52 x 52 x 64 52 x 52 x 128
7 max 2 x 2 / 2 52 x 52 x 128 26 x 26 x 128
8 conv 256 3 x 3 / 1 26 x 26 x 128 26 x 26 x 256
9 max 2 x 2 / 2 26 x 26 x 256 13 x 13 x 256
10 conv 512 3 x 3 / 1 13 x 13 x 256 13 x 13 x 512
11 max 2 x 2 / 1 13 x 13 x 512 13 x 13 x 512
12 conv 1024 3 x 3 / 1 13 x 13 x 512 13 x 13 x1024
13 conv 1024 3 x 3 / 1 13 x 13 x1024 13 x 13 x1024
14 conv 125 1 x 1 / 1 13 x 13 x1024 13 x 13 x 125
15 detection

YOLO 9000

layer filters size input output
0 conv 32 3 x 3 / 1 544 x 544 x 3 544 x 544 x 32
1 max 2 x 2 / 2 544 x 544 x 32 272 x 272 x 32
2 conv 64 3 x 3 / 1 272 x 272 x 32 272 x 272 x 64
3 max 2 x 2 / 2 272 x 272 x 64 136 x 136 x 64
4 conv 128 3 x 3 / 1 136 x 136 x 64 136 x 136 x 128
5 conv 64 1 x 1 / 1 136 x 136 x 128 136 x 136 x 64
6 conv 128 3 x 3 / 1 136 x 136 x 64 136 x 136 x 128
7 max 2 x 2 / 2 136 x 136 x 128 68 x 68 x 128
8 conv 256 3 x 3 / 1 68 x 68 x 128 68 x 68 x 256
9 conv 128 1 x 1 / 1 68 x 68 x 256 68 x 68 x 128
10 conv 256 3 x 3 / 1 68 x 68 x 128 68 x 68 x 256
11 max 2 x 2 / 2 68 x 68 x 256 34 x 34 x 256
12 conv 512 3 x 3 / 1 34 x 34 x 256 34 x 34 x 512
13 conv 256 1 x 1 / 1 34 x 34 x 512 34 x 34 x 256
14 conv 512 3 x 3 / 1 34 x 34 x 256 34 x 34 x 512
15 conv 256 1 x 1 / 1 34 x 34 x 512 34 x 34 x 256
16 conv 512 3 x 3 / 1 34 x 34 x 256 34 x 34 x 512
17 max 2 x 2 / 2 34 x 34 x 512 17 x 17 x 512
18 conv 1024 3 x 3 / 1 17 x 17 x 512 17 x 17 x1024
19 conv 512 1 x 1 / 1 17 x 17 x1024 17 x 17 x 512
20 conv 1024 3 x 3 / 1 17 x 17 x 512 17 x 17 x1024
21 conv 512 1 x 1 / 1 17 x 17 x1024 17 x 17 x 512
22 conv 1024 3 x 3 / 1 17 x 17 x 512 17 x 17 x1024
23 conv 28269 1 x 1 / 1 17 x 17 x1024 17 x 17 x28269
24 detection
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].