<?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[onnx 转 tensorrt出错]]></title><description><![CDATA[<p><a href="https://drive.google.com/file/d/1o6eZdvc_0R9QezNeS9j-HfychbTt8NJa/view?usp=sharing" target="_blank" rel="noopener noreferrer nofollow">Onnx原始文件</a></p>
<ol>
<li>使用TensorRT 6.0.1 OnnxParser parse错误为<br />
In node 0 (importModel): INVALID_GRAPH: Assertion failed: tensors.count(input_name)</li>
<li>使用TensorRT源码编译后的onnx2trt 命令行转换，没有报错<br />
没法找到具体原因</li>
</ol>
]]></description><link>http://t.manaai.cn/topic/219/onnx-转-tensorrt出错</link><generator>RSS for Node</generator><lastBuildDate>Mon, 14 Sep 2026 11:40:28 GMT</lastBuildDate><atom:link href="http://t.manaai.cn/topic/219.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Nov 2019 06:30:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to onnx 转 tensorrt出错 on Tue, 05 Nov 2019 06:36:15 GMT]]></title><description><![CDATA[<p><a href="https://drive.google.com/file/d/1o6eZdvc_0R9QezNeS9j-HfychbTt8NJa/view?usp=sharing" target="_blank" rel="noopener noreferrer nofollow">Onnx原始文件</a></p>
<ol>
<li>使用TensorRT 6.0.1 OnnxParser parse错误为<br />
In node 0 (importModel): INVALID_GRAPH: Assertion failed: tensors.count(input_name)</li>
<li>使用TensorRT源码编译后的onnx2trt 命令行转换，没有报错<br />
没法找到具体原因</li>
</ol>
]]></description><link>http://t.manaai.cn/post/507</link><guid isPermaLink="true">http://t.manaai.cn/post/507</guid><dc:creator><![CDATA[jamesguo]]></dc:creator><pubDate>Tue, 05 Nov 2019 06:36:15 GMT</pubDate></item><item><title><![CDATA[Reply to onnx 转 tensorrt出错 on Tue, 05 Nov 2019 06:55:03 GMT]]></title><description><![CDATA[<p>onnx图没有按照标准的格式存储。</p>
<p>count应该是每个tensorrt必须的字段。现在onnx-tensorrt还无法推理默认的尺寸。<br />
可以先check一下onnx是否valid，方式为使用 <code>torch.onnx</code> load模型check一下格式。</p>
]]></description><link>http://t.manaai.cn/post/508</link><guid isPermaLink="true">http://t.manaai.cn/post/508</guid><dc:creator><![CDATA[刘看山]]></dc:creator><pubDate>Tue, 05 Nov 2019 06:55:03 GMT</pubDate></item><item><title><![CDATA[Reply to onnx 转 tensorrt出错 on Tue, 26 Nov 2019 06:32:17 GMT]]></title><description><![CDATA[<p>你好，这个问题本质是你的onnx图里面，有一些node的input是没有的。</p>
<p>可以参考这个issue：</p>
<p><a href="https://github.com/onnx/onnx/issues/2474" target="_blank" rel="noopener noreferrer nofollow">https://github.com/onnx/onnx/issues/2474</a></p>
]]></description><link>http://t.manaai.cn/post/524</link><guid isPermaLink="true">http://t.manaai.cn/post/524</guid><dc:creator><![CDATA[刘看山]]></dc:creator><pubDate>Tue, 26 Nov 2019 06:32:17 GMT</pubDate></item><item><title><![CDATA[Reply to onnx 转 tensorrt出错 on Sat, 08 Aug 2020 07:58:15 GMT]]></title><description><![CDATA[<p>hello 请问你这个问题是如何解决的呢 我目前也遇到了相似情况</p>
]]></description><link>http://t.manaai.cn/post/721</link><guid isPermaLink="true">http://t.manaai.cn/post/721</guid><dc:creator><![CDATA[wjj19950828]]></dc:creator><pubDate>Sat, 08 Aug 2020 07:58:15 GMT</pubDate></item><item><title><![CDATA[Reply to onnx 转 tensorrt出错 on Mon, 17 Aug 2020 06:08:07 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://t.manaai.cn/uid/562">@wjj19950828</a> 升级onnx-tensorrt可以解决这个问题</p>
]]></description><link>http://t.manaai.cn/post/728</link><guid isPermaLink="true">http://t.manaai.cn/post/728</guid><dc:creator><![CDATA[刘看山]]></dc:creator><pubDate>Mon, 17 Aug 2020 06:08:07 GMT</pubDate></item></channel></rss>