<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Segmentation Fault in OvxlibDelegate when Benchmarking TensorFlow Lite Model</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Segmentation-Fault-in-OvxlibDelegate-when-Benchmarking/m-p/1370113#M182929</link>
    <description>&lt;P&gt;This problem has been resolved in the &lt;SPAN&gt;5.10.52_2.1.0 release of the Yocto BSP.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Nov 2021 18:05:14 GMT</pubDate>
    <dc:creator>Paul-T</dc:creator>
    <dc:date>2021-11-11T18:05:14Z</dc:date>
    <item>
      <title>Segmentation Fault in OvxlibDelegate when Benchmarking TensorFlow Lite Model</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Segmentation-Fault-in-OvxlibDelegate-when-Benchmarking/m-p/1323916#M178505</link>
      <description>&lt;P&gt;I'm trying to benchmark a custom TensorFlow Lite model using the latest Yocto BSP (5.10.35_2.0.0) and I'm hitting a segfault in the nnrt::OvxlibDelegate::process() method (see below for the backtrace from GDB). I didn't see this problem with the previous version of the BSP (5.10.9_1.0.0).&lt;/P&gt;&lt;P&gt;The problem appears to be in the delegate, as I don't encounter it if I disable the NNAPI option (--use_nnapi=false). I also don't run into any issues when benchmarking the MobileNet v1 example, which is smaller than my custom model. Is this a known issue? If so, is there an ETA for a fix?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;GDB backtrace:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;#0 0x0000fffff7743f9c in nnrt::OvxlibDelegate::process(nnrt::Model*, _vsi_nn_context_t*) () from /usr/lib/libnnrt.so.1&lt;BR /&gt;#1 0x0000fffff7734908 in nnrt::PreparedModel::prepare() () from /usr/lib/libnnrt.so.1&lt;BR /&gt;#2 0x0000fffff7726dbc in nnrt::Compilation::prepareModel(int*, std::vector&amp;lt;std::shared_ptr&amp;lt;nnrt::ExecutionIO&amp;gt;, std::allocator&amp;lt;std::shared_ptr&amp;lt;nnrt::ExecutionIO&amp;gt; &amp;gt; &amp;gt; const&amp;amp;, std::shared_ptr&amp;lt;_vsi_nn_context_t&amp;gt;&amp;amp;) () from /usr/lib/libnnrt.so.1&lt;BR /&gt;#3 0x0000fffff772cb24 in nnrt::Execution::compute() () from /usr/lib/libnnrt.so.1&lt;BR /&gt;#4 0x0000fffff7d517ec in tflite::delegate::nnapi::NNAPIDelegateKernel::Invoke(TfLiteContext*, TfLiteNode*, int*) () from /usr/lib/libtensorflow-lite.so.2.4.1&lt;BR /&gt;#5 0x0000fffff7d4aba4 in tflite::Subgraph::Invoke() () from /usr/lib/libtensorflow-lite.so.2.4.1&lt;BR /&gt;#6 0x0000fffff7ecb324 in tflite::Interpreter::Invoke() () from /usr/lib/libtensorflow-lite.so.2.4.1&lt;BR /&gt;#7 0x0000aaaaaaaaa5dc in ?? ()&lt;BR /&gt;#8 0x0000aaaaaaaad824 in ?? ()&lt;BR /&gt;#9 0x0000aaaaaaaa8d68 in ?? ()&lt;BR /&gt;#10 0x0000fffff78d9994 in __libc_start_main (main=0xaaaaaaaa8820, argc=3, argv=0xfffffffffad8, init=&amp;lt;optimized out&amp;gt;, fini=&amp;lt;optimized out&amp;gt;, rtld_fini=&amp;lt;optimized out&amp;gt;, &lt;BR /&gt;stack_end=&amp;lt;optimized out&amp;gt;) at ../csu/libc-start.c:332&lt;BR /&gt;#11 0x0000aaaaaaaa8ab8 in ?? ()&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Aug 2021 12:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Segmentation-Fault-in-OvxlibDelegate-when-Benchmarking/m-p/1323916#M178505</guid>
      <dc:creator>Paul-T</dc:creator>
      <dc:date>2021-08-16T12:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation Fault in OvxlibDelegate when Benchmarking TensorFlow Lite Model</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Segmentation-Fault-in-OvxlibDelegate-when-Benchmarking/m-p/1331047#M179233</link>
      <description>&lt;P&gt;Hello Paul-T,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share the model you are using? I will try to reproduce the issue, but without the model I can't.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 27 Aug 2021 12:52:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Segmentation-Fault-in-OvxlibDelegate-when-Benchmarking/m-p/1331047#M179233</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2021-08-27T12:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Segmentation Fault in OvxlibDelegate when Benchmarking TensorFlow Lite Model</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Segmentation-Fault-in-OvxlibDelegate-when-Benchmarking/m-p/1370113#M182929</link>
      <description>&lt;P&gt;This problem has been resolved in the &lt;SPAN&gt;5.10.52_2.1.0 release of the Yocto BSP.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 18:05:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Segmentation-Fault-in-OvxlibDelegate-when-Benchmarking/m-p/1370113#M182929</guid>
      <dc:creator>Paul-T</dc:creator>
      <dc:date>2021-11-11T18:05:14Z</dc:date>
    </item>
  </channel>
</rss>

