Comments (4)
good,If you want to know how those params came about, I'll give you some information and you should get the idea
ncnn的norm和mean计算公式:https://github.com/Tencent/ncnn/wiki/FAQ-ncnn-produce-wrong-result#pre-process
coco的mean和norm:
mean=【120.105,114.24,104.04】
norm=【0.0167,0.0164,0.0174】
ncnn操作参数权重表:https://github.com/Tencent/ncnn/wiki/operation-param-weight-table
from ncnn-yolov4-int8.
I have a question, in ncnn's document, mean and norm are the values you passed to Mat::substract_mean_normalize()
, it means mean={0, 0, 0}
and norm={1 / 255.f, 1 / 255.f, 1 / 255.f}
with yolov4, not above values. Thanks!
from ncnn-yolov4-int8.
这个是可以改的,不唯一,你可以多试验一下,但是你要确保做校验表的mean和norm要和你cpp代码里面的mean和norm一致
from ncnn-yolov4-int8.
I have a question, in ncnn's document,
mean and norm are the values you passed to Mat::substract_mean_normalize()
, it meansmean={0, 0, 0}
andnorm={1 / 255.f, 1 / 255.f, 1 / 255.f}
with yolov4, not above values. Thanks!
并且,很有趣的是,不同的mean和norm会影响模型量化后的速度,这个你可以尝试下,是个非常sexy的点
from ncnn-yolov4-int8.
Related Issues (4)
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 ncnn-yolov4-int8.