<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[tensorrt平台mtcnn的int8量化问题]]></title><description><![CDATA[<p>我看了tensorrt的int8量化原理，使用的是训练后量化方案，对weights直接使用线性量化，但我查到不训练直接量化的方式对小模型的精度损失非常大，mtcnn就是使用的三个小模型，我的显卡不支持int8也没有验证，请问tensorrt对mtcnn的int8量化会产生较大的精度损失吗？效率提升会有多少呢，谢谢<img src="/assets/uploads/files/1563517262499-35f13214-54bd-4920-a518-7d6aa9921a63-image.png" alt="35f13214-54bd-4920-a518-7d6aa9921a63-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://t.manaai.cn/topic/164/tensorrt平台mtcnn的int8量化问题</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 21:36:59 GMT</lastBuildDate><atom:link href="http://t.manaai.cn/topic/164.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Jul 2019 06:21:47 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to tensorrt平台mtcnn的int8量化问题 on Fri, 19 Jul 2019 06:21:47 GMT]]></title><description><![CDATA[<p>我看了tensorrt的int8量化原理，使用的是训练后量化方案，对weights直接使用线性量化，但我查到不训练直接量化的方式对小模型的精度损失非常大，mtcnn就是使用的三个小模型，我的显卡不支持int8也没有验证，请问tensorrt对mtcnn的int8量化会产生较大的精度损失吗？效率提升会有多少呢，谢谢<img src="/assets/uploads/files/1563517262499-35f13214-54bd-4920-a518-7d6aa9921a63-image.png" alt="35f13214-54bd-4920-a518-7d6aa9921a63-image.png" class="img-responsive img-markdown" /></p>
]]></description><link>http://t.manaai.cn/post/355</link><guid isPermaLink="true">http://t.manaai.cn/post/355</guid><dc:creator><![CDATA[sigma]]></dc:creator><pubDate>Fri, 19 Jul 2019 06:21:47 GMT</pubDate></item><item><title><![CDATA[Reply to tensorrt平台mtcnn的int8量化问题 on Fri, 19 Jul 2019 07:05:52 GMT]]></title><description><![CDATA[<p>泻药。</p>
<p>刚下飞机，人在美国。博士毕业，年薪百万。现在正式来回答一下问题。</p>
<p>关于这个TensorRT int8 mix precision的推理问题，其实可以总结为两点：</p>
<ul>
<li>速度提升可以达到50%，相对于fp32，显存占用可以降低20%甚至更多；</li>
<li>一般int8即使pascal架构也支持，fp16才要turing架构，因此即便是pascal架构显卡也是可以做实验的，但是难点在于你需要编写自己的calibrator用数据去calibrate模型。</li>
</ul>
<p>关于tensorrt量化推理，我们社区会在近期退出一些教程，当然了，是肯定有example的。欢迎关注</p>
]]></description><link>http://t.manaai.cn/post/356</link><guid isPermaLink="true">http://t.manaai.cn/post/356</guid><dc:creator><![CDATA[刘看山]]></dc:creator><pubDate>Fri, 19 Jul 2019 07:05:52 GMT</pubDate></item><item><title><![CDATA[Reply to tensorrt平台mtcnn的int8量化问题 on Fri, 19 Jul 2019 08:17:43 GMT]]></title><description><![CDATA[<p>@金天 在 <a href="/post/356">tensorrt平台mtcnn的int8量化问题</a> 中说：</p>
<blockquote>
<p>达到50%，相对于fp32，显存占用可以降低20%</p>
</blockquote>
<p>感谢回复，会有量化mtcnn的example吗？</p>
]]></description><link>http://t.manaai.cn/post/357</link><guid isPermaLink="true">http://t.manaai.cn/post/357</guid><dc:creator><![CDATA[sigma]]></dc:creator><pubDate>Fri, 19 Jul 2019 08:17:43 GMT</pubDate></item><item><title><![CDATA[Reply to tensorrt平台mtcnn的int8量化问题 on Fri, 19 Jul 2019 08:21:46 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://t.manaai.cn/uid/171">@sigma</a> 据我所知现在github有一些代码采用的tensorrt加速MTCNN。你可以尝试一下，也欢迎来社区分享或者post你遇到的任何problem</p>
]]></description><link>http://t.manaai.cn/post/358</link><guid isPermaLink="true">http://t.manaai.cn/post/358</guid><dc:creator><![CDATA[刘看山]]></dc:creator><pubDate>Fri, 19 Jul 2019 08:21:46 GMT</pubDate></item><item><title><![CDATA[Reply to tensorrt平台mtcnn的int8量化问题 on Fri, 19 Jul 2019 08:25:20 GMT]]></title><description><![CDATA[<p>@金天 ok，我再看看</p>
]]></description><link>http://t.manaai.cn/post/359</link><guid isPermaLink="true">http://t.manaai.cn/post/359</guid><dc:creator><![CDATA[sigma]]></dc:creator><pubDate>Fri, 19 Jul 2019 08:25:20 GMT</pubDate></item></channel></rss>