Comments (7)
"ANCHORS":[[(1.25, 1.625), (2.0, 3.75), (4.125, 2.875)],
[(1.875, 3.8125), (3.875, 2.8125), (3.6875, 7.4375)],
[(3.625, 2.8125), (4.875, 6.1875), (11.65625, 10.1875)]]
这个比例是如何计算的?
原始的聚类框除以stride就可以得到以上的ANCHORS。
from yolov4-pytorch.
"ANCHORS":[[(1.25, 1.625), (2.0, 3.75), (4.125, 2.875)],
[(1.875, 3.8125), (3.875, 2.8125), (3.6875, 7.4375)],
[(3.625, 2.8125), (4.875, 6.1875), (11.65625, 10.1875)]]
这个比例是如何计算的?原始的聚类框除以stride就可以得到以上的ANCHORS。
ok,谢谢川大小姐姐,求加QQ还想问下你是咋样学着自己该网络结构的,感觉改的贼6
from yolov4-pytorch.
"ANCHORS":[[(1.25, 1.625), (2.0, 3.75), (4.125, 2.875)],
[(1.875, 3.8125), (3.875, 2.8125), (3.6875, 7.4375)],
[(3.625, 2.8125), (4.875, 6.1875), (11.65625, 10.1875)]]
这个比例是如何计算的?原始的聚类框除以stride就可以得到以上的ANCHORS。
是聚类得到的框从小到大排序 依次除以8 16 32不?
from yolov4-pytorch.
@argusswift 请问您为什么要这样处理anchors呢,是想达到什么效果的呢?
from yolov4-pytorch.
YOLOv4-pytorch/model/head/yolo_head.py
Line 46 in 863f35c
stride * anchor = actual anchor size
@argusswift 请问您为什么要这样处理anchors呢,是想达到什么效果的呢?
from yolov4-pytorch.
YOLOv4-pytorch/model/head/yolo_head.py
Line 46 in 863f35c
stride * anchor = actual anchor size
@argusswift 请问您为什么要这样处理anchors呢,是想达到什么效果的呢?
谢谢,懂了!但是原始anchor除以stride并不精确等于现在的anchor,是不是还做了其他处理呢
from yolov4-pytorch.
YOLOv4-pytorch/model/head/yolo_head.py
Line 46 in 863f35c
stride * anchor = actual anchor size
@argusswift 请问您为什么要这样处理anchors呢,是想达到什么效果的呢?
谢谢,懂了!但是原始anchor除以stride并不精确等于现在的anchor,是不是还做了其他处理呢
I don't know for sure but I tend to calculate the anchor by my self. You can also use darknet anchor size and /8 /16 to get the anchor. K-means script might varies a little, so are the results.
But generally, I don't see anchors size would affect final result much, especially when they don't varies hugely. Anchors are just the starting point of the bbox prediction or say, the reference bbox size. Better anchor just help network converge faster imo.
from yolov4-pytorch.
Related Issues (20)
- 问题 HOT 1
- RuntimeError: shape '[256, 256, 3, 3]' is invalid for input of size 16301 HOT 3
- 如何修改训练图片大小并且使用多尺度训练策略 HOT 2
- 关于CBAM的问题 HOT 2
- ValueError: not enough values to unpack (expected 3, got 0) HOT 2
- ValueError: not enough values to unpack (expected 3, got 2) HOT 1
- 可以放入负样本嘛 HOT 1
- CUDA_VISIBLE_DEVICES=0 nohup python -u train.py --weight_path weight/yolov4.weights --gpu_id 0 > nohup.log 2>&1 & HOT 2
- 训练好的模型百度网盘提取码是多少? HOT 1
- How to train model using dataset with another resolution?
- When I set the activate='relu', I met the RuntimeError. (Solved) HOT 1
- please provide best weights after training HOT 1
- Darknet pretrained weight file link corrupted HOT 1
- YOLOv4 with CBAM HOT 1
- Evaluator.py map issue with dataset HOT 5
- Error for detection HOT 1
- Error in detection HOT 2
- 多尺度训练,NUMBER_WORKERS
- Pretrained mobilev2 not accessible
- 姐姐,使用voc_best.pt导入失败呀
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 yolov4-pytorch.