Tencent / TNN

TNN: developed by Tencent Youtu Lab and Guangying Lab, a uniform deep learning inference framework for mobile、desktop and server. TNN is distinguished by several outstanding features, including its cross-platform capability, high performance, model compression and code pruning. Based on ncnn and Rapidnet, TNN further strengthens the support and performance optimization for mobile devices, and also draws on the advantages of good extensibility and high performance from existed open source efforts. TNN has been deployed in multiple Apps from Tencent, such as Mobile QQ, Weishi, Pitu, etc. Contributions are welcome to work in collaborative with us and make TNN a better framework.
Other
4.37k stars 765 forks source link

TNN yolov5s量化后输出错误 #1984

Open QIANXUNZDL123 opened 4 months ago

QIANXUNZDL123 commented 4 months ago

问题1: demo里面有没有量化后的demo案例吗?? 问题2:我已经将yolov5s进行了量化,也量化成功了。如下图所示: image

但是我在代码中测试发现输出全乱了,如果不使用量化模型输出是正常的。 image

这啥原因呢,还有就是我需要反量化吗??没看到API有反量化的参数呀