Comments (5)
多大的输入?多核吗?是只有cnn推理时间还是包括前置的图片处理和后处理?可以尝试ncnn 的int8量化、换slim版本的模型、根据落地场景选择降低输入分辨率(比如160x120、128x96)。
from ultra-light-fast-generic-face-detector-1mb.
@Linzaer 输入为320×240,默认4核,只计算了cnn推理时间,无前后处理,落地场景是手机前置摄像头以640×480的分辨率输入做人脸识别。
from ultra-light-fast-generic-face-detector-1mb.
640x480输入算比较大了,推理计算量相当于320x240的4倍左右,这个时间应该差不多。如果你的场景距离要求在6m以内的话,320x240就应该够了。输入大小很影响推理速度的。
from ultra-light-fast-generic-face-detector-1mb.
谢谢解答,我改小分辨率试试看。
from ultra-light-fast-generic-face-detector-1mb.
好的,不客气,也可以试下slim版本,会快一点。
from ultra-light-fast-generic-face-detector-1mb.
Related Issues (20)
- A `Concatenate` layer requires inputs with matching shapes except for the concat axis. Got inputs shapes: [(None, None, 2), (None, 4420, 4)]
- How to increase amount of using CPUs?
- 请问可以批量推理吗
- About the BBox Detection for "masked-Face"
- ModuleNotFoundError: No module named 'vision'
- error building for ncnn
- 请问README中的测试精度是指什么?
- Error while training HOT 1
- Bounding box overlap issue.
- Min_boxes (anchors) calculation
- 请问如何训练灰度图? HOT 1
- ModuleNotFoundError: No module named 'tf' in convert_tensorflow.py HOT 1
- converting to tfjs model
- onnx转换出来报错
- Transfer learning and lable output
- 对全景图进行人脸识别
- 有一段代码不是很理解,有哪位大佬帮我解下惑 HOT 1
- 代码参数理解 HOT 1
- Improve accuracy of the ultraface-rfb-640.onnx model
- 如何优化GPU训练速度
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 ultra-light-fast-generic-face-detector-1mb.