Comments (4)
These are the widths and heights of 5 "anchor" boxes (also known as prior boxes or default boxes). Recall that for every cell in the 13 x 13 grid we predict 5 bounding boxes? What we predict are actually widths and heights relative to these anchor boxes.
The reason YOLO uses these anchor boxes is as a hint to the neural network that most of the predictions will have one of these shapes. These particular anchor boxes were chosen by the authors of YOLO using clustering on the Pascal VOC dataset to find the most common object shapes. Using such anchor boxes is common in many object detection models.
from yolo-coreml-mpsnngraph.
It's constant for the training dataset used, in this case Pascal VOC. These anchors were calculated just once, before YOLO was trained. (The YOLO9000 paper explains how they did this in more detail.)
If you're training YOLO on a very different dataset with different shaped objects, you may need to calculate different anchors.
Turi Create, for example, also uses YOLO for object detection but has more and different anchors, presumably to deal with a larger variety of objects.
from yolo-coreml-mpsnngraph.
Is this constant value or somehow calculated? If the last then are you familiar with approaches to do so ?
from yolo-coreml-mpsnngraph.
Thanks, this is very useful information !
from yolo-coreml-mpsnngraph.
Related Issues (20)
- Why is the feature set 255x13x13 ? HOT 3
- Unable to desearilize object Validation error HOT 2
- it delays HOT 1
- Performance HOT 9
- scaleFit instead of scaleFill HOT 1
- TypeError: __init__() got an unexpected keyword argument 'dtype' HOT 3
- Performance decrease HOT 4
- UIview and adding shapes HOT 3
- error when run " python coreml.py" HOT 5
- Shape of the converted model is wrong HOT 11
- Speed on A11 vs A12 HOT 1
- AttributeError: module 'tensorflow' has no attribute 'concat_v2' HOT 1
- MLMultiArray datatype Flot32 issue HOT 9
- __init__() got an unexpected keyword argument 'dtype' HOT 1
- Converting this repo to support Yolov5 HOT 1
- Error trying to convert model to CoreML HOT 4
- Error converting from h5 to Core ML HOT 1
- Cannot find 'YOLOv3' in scope HOT 1
- assert(features[0].count == 255 * 13 * 13) crash HOT 1
- Get multiple outputs from MPSNNGraph HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolo-coreml-mpsnngraph.