Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Deep Learning based object Detection with YOLO v2
Search
Jumabek Alikhanov
September 29, 2019
Research
1
160
Deep Learning based object Detection with YOLO v2
I will briefly go through the the process of YOLOv2
Jumabek Alikhanov
September 29, 2019
Tweet
Share
Other Decks in Research
See All in Research
MLtraq: Track your AI experiments at hyperspeed
micheda
1
110
[ICLR'24] Towards Assessing and Benchmarking Risk-Return Tradeoff of OPE
harukakiyohara_
0
200
Introduction of NII S. Koyama's Lab (AY2024)
skoyamalab
0
110
フルリモートワークでのスクラムのスケール
kmorita1111
2
1k
F0に基づいて伸縮された画像文字からの音声合成 [ASJ2024春]
nehi0615
0
120
Alexander Mielke Hellinger--Kantorovich (a.k.a. Wasserstein-Fisher-Rao) Spaces and Gradient Flows
jjzhu
3
180
Gmail の「メール送信者のガイドライン」強化から 1 ヵ月、今後予想されるメールセキュリティの変化とは
hirachan
1
240
サウナでのプロジェクションマッピングの可能性の検討 / EC71koizumi
yumulab
0
170
Accurate Method and Variable Tracking in Commit History
tsantalis
0
250
生成AIを用いたText to SQLの最前線
masatoto
1
2.3k
3D Human Mesh Estimationについていくつかまとめてみた / Survey about 3D Human Mesh Estimation
nttcom
0
210
The Theory behind Vector DB
matsui_528
0
1.7k
Featured
See All Featured
Side Projects
sachag
451
41k
Designing on Purpose - Digital PM Summit 2013
jponch
110
6.5k
Making Projects Easy
brettharned
108
5.5k
A designer walks into a library…
pauljervisheath
200
23k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
Product Roadmaps are Hard
iamctodd
44
9.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
355
18k
How STYLIGHT went responsive
nonsquared
92
4.8k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Design by the Numbers
sachag
274
18k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
Ruby is Unlike a Banana
tanoku
96
10k
Transcript
Jumabek Alikhanov @Information Security Research Lab, Inha University YOLO9000: Better,
Faster, Stronger (CVPR 2017, Best Paper Honorable Mention) 1
1. Introduction & Previous Work 2. Better detection performance 3.
Faster processing speed 4. Detecting more classes(object types) 5. Conclusion CONTENTS 2
Task & Evaluation Metric mAP- mean Avarage Precision 3 https://github.com/rafaelpadilla/Object-Detection-Metrics
YOLO v1 Network Output shape = (S, S, B×5 +
C) = (7, 7, 2×5 + 20) = (7, 7, 30). 4
YOLOv1: Loss Function pi-conditional class Prob. Ci - box confidence
score 5 Localization Confidence Classification
Previously Pascal 2007 mAP Speed DPM v5 33.7 .07 FPS
14 s/img R-CNN 66.0 .05 FPS 20 s/img Fast R-CNN 70.0 .5 FPS 2 s/img Faster R-CNN 73.2 7 FPS 140 ms/img YOLO 63.4 45 FPS 22 ms/img 6
Previously Pascal 2007 mAP Speed DPM v5 33.7 .07 FPS
14 s/img R-CNN 66.0 .05 FPS 20 s/img Fast R-CNN 70.0 .5 FPS 2 s/img Faster R-CNN 73.2 7 FPS 140 ms/img YOLO 63.4 45 FPS 22 ms/img 7
Better Performance 8
9 YOLO Train on ImageNet Fine-tune on detection Resize network
10 Fine-tune 448x448 Classifier: +3.5% mAP Train on ImageNet Fine-tune
on detection Resize, fine-tune on ImageNet
Anchor boxes use static initialization
Use k-means clustering to find better initializations https://github.com/Jumabek/darknet_scripts
None
Static Anchors vs Dimension Clusters 14
Box Location Prediction 15
Dimension Clusters: +5% mAP
17 Multi-scale training: +1.5% mAP
YOLOv2: Fast, Accurate Detection
Huang, Jonathan, et al. "Speed/accuracy trade-offs for modern convolutional object
detectors." arXiv preprint arXiv:1611.10012 (2016).
Huang, Jonathan, et al. "Speed/accuracy trade-offs for modern convolutional object
detectors." arXiv preprint arXiv:1611.10012 (2016).
Huang, Jonathan, et al. "Speed/accuracy trade-offs for modern convolutional object
detectors." arXiv preprint arXiv:1611.10012 (2016). YOLOv2
None
Faster Detection Speed 23
Speed is not just parameter counts or FLOPs Top 1
Top 5 FLOPs GPU Speed VGG-16 70.5 90.0 30.95 Bn 100 FPS Extraction (YOLOv1) 72.5 90.8 8.52 Bn 180 FPS Resnet50 75.3 92.2 7.66 Bn 90 FPS
Darknet19: A good balance of speed and accuracy Top 1
Top 5 FLOPs GPU Speed VGG-16 70.5 90.0 30.95 Bn 100 FPS Extraction (YOLOv1) 72.5 90.8 8.52 Bn 180 FPS Resnet50 75.3 92.2 7.66 Bn 90 FPS Darknet19 74.0 91.8 5.58 Bn 200 FPS
Why is it fast? Simple & efficient architecture C implementation
26
Stronger - Detecting more classes 27
- 14 million images - 22k classes - Classification labels
- 100k images - 80 classes - Detection labels Golden eagle
Typically use softmax over all classes
Can’t just mash classes together...
Can’t just mash classes together...
WordNet has structure but it’s messy
None
None
... Each node is a conditional probability
... Each node is a conditional probability P(Bedlington terrier) =
P(object) * P (living thing | object) * ….. P(canine | mammal) * P(dog | canine) * P(terrier | dog) * P(Bedlington terrier | terrier)
None
None
None
None
None
None
None
None
None
None
Conclusion • YOLOv2 and YOLO9000 real-time detection systems • YOLOv2
state of the art and faster than other systems • 9K object category detection by YOLO9000 47
1. CVPR paper - https://pjreddie.com/media/files/papers/YOLO9000.pdf 2. Article - https://medium.com/@jonathan_hui/real-time-object-detection-with-yolo-yolov2-28b1b93e2088 3.
Author’s Presentation - https://docs.google.com/presentation/d/14qBAiyhMOFl_wZW4dA1CkixgXwf0zKGbpw_0oHK8yEM/edit#slide=id.g1f9fb98e4b_0 _132 References 48