πŸ€” How to increase your Small Object Detection Average Precision APs?

πŸ’‘ By increasing both image and backbone sizes when training your model:

πŸ“Œ Increasing both image and backbone sizes in EfficientDet jumped APs by 14+%

πŸ“Œ Increasing backbone size in RFBNet increased APs Image
πŸ“Œ Increasing image size from 320 to 608 in PP-YOLO led to 10+% increase in APs

For more tips and tricks to improve small object detection tips & tricks, check out the list I shared in my first tweet.
Benchmarks are extracted from the PP-YOLO paper:

πŸ“° Paper: PP-YOLO: An Effective and Efficient Implementation of Object Detector

PDF: arxiv.org/pdf/2007.12099…
Let's make object detection / computer more accessible for all!

🟦 If you want more Object Detection / CV demystified content in your feed, definitely follow @ai_fast_track

🟧 If you could give the thread a quick retweet, that would be great!

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with AI Fast Track

AI Fast Track Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @ai_fast_track

4 Nov
πŸ₯‡ FCOS3D won the 1st place out of all the vision-only methods in the nuScenes 3D Detection Challenge of NeurIPS 2020.

Here is a brief description:

πŸ“Œ FCOS3D is a monocular 3D object detector

πŸ“Œ It’s an anchor-free model based on FCOS (2D) counterpart
πŸ“Œ It replaces the FCOS regression branch by 6 branches

πŸ“Œ The center-ness is redefined with a 2D Gaussian distribution based on the 3D-center

πŸ“Œ The authors showed some failure cases, mainly focused on the detection of large objects and occluded objects.
⏹ Source code and models are shared in the MMDetection3D repo:
github.com/open-mmlab/mmd…

⏹ MMDetection3D also has many other 3D detection models:
Read 6 tweets
2 Nov
YOLO Real-Time (YOLO-ReT) architecture targets edge devices.

It achieves 68.75 mAP on Pascal VOC and 34.91 mAP on COCO using MobileNetV2Γ—0.75 backbone.

Here is a brief description of the YOLO-ReT πŸ‘‡ Image
Both model accuracy and execution time (Frame Per Second) are crucial when deploying a model on edge device. YOLO-ReT is based on these 2 ideas:

⏹ Backbone Truncation: Only 60% of the backbone is initialised with pretrained weights. Using all the weights harms model accuracy
⏹ Raw Feature Collection and Redistribution (RFCR):

πŸ“Œ Fuse {C2, C3, C4} into C5 layer (fused feature map)

πŸ“Œ Discard last CNN layers

πŸ“Œ Pass the fused feature map through a 5x5 Mobile Convolution block (MBConv)
Read 6 tweets
27 Oct
✨Common Object Detector Architecture you should be familiar with:

πŸ“Œ Common object detectors are divided into One-Stage Detectors (OSD), and Two-Stage Detectors (TSD)

πŸ“Œ Both OSD and TSD can be either anchor-based (relying on anchor boxes) or anchor-free
πŸ“Œ OSD use the whole feature maps to predict bounding boxes/labels: Dense Prediction

πŸ“Œ TSD have an extra step hence two-stage: extracting proposals (regions of interest)

πŸ“Œ Proposals are used to extract feature map regions to predict bounding boxes/labels: Sparse Prediction
πŸ“Œ TSD don't use the whole feature map for prediction

πŸ“Œ TSD (e.g. Faster R-CNN) used to be more accurate than STD (e.g. SSD, YOLO, etc.)

πŸ“Œ STD (e.g. EfficientDet, RetinaNet, VFNet, YOLOX, etc.) recently show better results than TSD

πŸ“Œ STD are faster than TSD
Read 5 tweets
25 Oct
🧐7 things you should know about the Focal Loss:

πŸ“Œ It was introduced in the RetinaNet paper to address the foreground-background class imbalance encountered during training of dense detectors (one-stage detectors)
...
πŸ“Œ It’s derived from the cross-entropy loss such that it down-weights the loss assigned to well-classified examples. It's used in the classification head.

πŸ“Œ It’s used in many one-stage object detection models: EfficientDet, FCOS, VFNet, and many other models
πŸ“Œ It can also be used in two-stage object detection models: e.g. Sparse R-CNN

πŸ“Œ It crashes losses associated to easy examples: for a confidence score of 0.9, the focal loss is 100 times smaller than the cross-entropy loss (see figure here above)
Read 5 tweets
21 Oct
πŸ₯‡YOLOX beat YOLOv5. They won the 1st Place on Streaming Perception Challenge (Workshop on Autonomous Driving at CVPR 2021).

I briefly explain how they created it, here belowπŸ‘‡

YOLOX will be soon supported in our IceVision Framework (Repo: github.com/airctic/IceVis…)
Considering YOLOv4 and YOLOv5 might be a little bit over-optimized for the anchor-based pipeline, they choose YOLOv3 as their starting point.

They transformed YOLOv3 into YOLOX by using the following techniques:

🟦 Decoupled head,
🟦 Anchor-free architecture (like FCOS), and
🟦 Advanced label assigning strategy (SimOTA)

They also used some other training strategies such as: adding EMA weights updating, cosine LR schedule, IoU loss, and IoU-aware branch.

pdf: arxiv.org/pdf/2107.08430…
abs: arxiv.org/abs/2107.08430
repo: github.com/Megvii-BaseDet…
Read 4 tweets
20 Oct
Here is a cool approach for effective labeling from @NVIDIAAI

πŸ“°Active Learning for Deep Object Detection via Probabilistic Modeling

Object detection labeling is both time consuming and expensive. Active learning to the rescue:
🧡 Image
🟧They use mixture density networks to estimate, in one forward pass of a single model, both localization and classification uncertainties

🟧 They leverage them in the scoring function for active learning.

🟧 Then, those data points with the top-K scores are sent for labeling
🟧 They use SSD pytorch for their implementation

πŸ“°Paper: Active Learning for Deep Object Detection via Probabilistic Modeling

PDF: arxiv.org/abs/2103.16130
Abs: arxiv.org/pdf/2103.16130…
Repo: github.com/NVlabs/AL-MDN
Read 4 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(