<?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>eIQ Machine Learning SoftwareのトピックRunning ARMNN CAFFE Binary on IMX8 board with GPU Acceleration</title>
    <link>https://community.nxp.com/t5/eIQ-Machine-Learning-Software/Running-ARMNN-CAFFE-Binary-on-IMX8-board-with-GPU-Acceleration/m-p/1277578#M365</link>
    <description>&lt;P&gt;Hi Support Team,&lt;/P&gt;&lt;P&gt;Right now trying to run the ARMNN CaffeTest on iMX8 Board. I tried to run Inception-BNbatchsize1.&lt;BR /&gt;caffemodel with GPU Acceleration but the performance is not as expected. We are following the&lt;BR /&gt;i.MX_Machine_Learning_User's_Guide for running the ARMNN Tests.&lt;BR /&gt;We are running the Arm NN Caffe binary as below :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;With CPU :&lt;/STRONG&gt;&lt;BR /&gt;-----------&lt;/P&gt;&lt;P&gt;root@imx8qxpmek:/usr/bin/ArmnnTests# CaffeInception_BN-Armnn --compute=CpuAcc --data-dir=data --model-dir=models&lt;BR /&gt;ArmNN v20190801&lt;BR /&gt;= Prediction values for test #0&lt;BR /&gt;Top(1) prediction is 3694 with value: 0.940841&lt;BR /&gt;Top(2) prediction is 3197 with value: 0.000752777&lt;BR /&gt;Top(3) prediction is 2411 with value: 0.000105063&lt;BR /&gt;Top(4) prediction is 1972 with value: 4.33676e-05&lt;BR /&gt;Top(5) prediction is 1081 with value: 4.27122e-05&lt;BR /&gt;Total time for 1 test cases: 0.831 seconds&lt;BR /&gt;Average time per test case: 831.004 ms&lt;BR /&gt;Overall accuracy: 1.000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;With GPU Backend:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;----------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;root@imx8qxpmek:/usr/bin/ArmnnTests# CaffeInception_BN-Armnn --compute=VsiNpu --data-dir=data --model-dir=models&lt;BR /&gt;ArmNN v20190801&lt;BR /&gt;W [query_hardware_caps:53]Unsupported evis version&lt;BR /&gt;Warn-Start NN execution&lt;BR /&gt;Warn-Start NN execution&lt;BR /&gt;= Prediction values for test #0&lt;BR /&gt;Top(1) prediction is 3694 with value: 0.899821&lt;BR /&gt;Top(2) prediction is 3197 with value: 0.000630801&lt;BR /&gt;Top(3) prediction is 2411 with value: 0.000116962&lt;BR /&gt;Top(4) prediction is 1081 with value: 4.72108e-05&lt;BR /&gt;Top(5) prediction is 567 with value: 1.84702e-05&lt;BR /&gt;Total time for 1 test cases: 2.073 seconds&lt;BR /&gt;Average time per test case: 2073.426 ms&lt;BR /&gt;Overall accuracy: 1.000&lt;/P&gt;&lt;P&gt;In the above example with GPU acceleration ,we can see the Total time for the test cases taken is more&lt;BR /&gt;than the one computed with CPU.. and we can see this error when the demo is run with GPU acceleration:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;W [query_hardware_caps:53]Unsupported evis version&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Warn-Start NN execution&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Warn-Start NN execution&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;and Total Time taken is more when run with GPU acceleration compared to CPU?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anyone please guide me what could be the issue?&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;</description>
    <pubDate>Mon, 17 May 2021 11:37:40 GMT</pubDate>
    <dc:creator>Divya17</dc:creator>
    <dc:date>2021-05-17T11:37:40Z</dc:date>
    <item>
      <title>Running ARMNN CAFFE Binary on IMX8 board with GPU Acceleration</title>
      <link>https://community.nxp.com/t5/eIQ-Machine-Learning-Software/Running-ARMNN-CAFFE-Binary-on-IMX8-board-with-GPU-Acceleration/m-p/1277578#M365</link>
      <description>&lt;P&gt;Hi Support Team,&lt;/P&gt;&lt;P&gt;Right now trying to run the ARMNN CaffeTest on iMX8 Board. I tried to run Inception-BNbatchsize1.&lt;BR /&gt;caffemodel with GPU Acceleration but the performance is not as expected. We are following the&lt;BR /&gt;i.MX_Machine_Learning_User's_Guide for running the ARMNN Tests.&lt;BR /&gt;We are running the Arm NN Caffe binary as below :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;With CPU :&lt;/STRONG&gt;&lt;BR /&gt;-----------&lt;/P&gt;&lt;P&gt;root@imx8qxpmek:/usr/bin/ArmnnTests# CaffeInception_BN-Armnn --compute=CpuAcc --data-dir=data --model-dir=models&lt;BR /&gt;ArmNN v20190801&lt;BR /&gt;= Prediction values for test #0&lt;BR /&gt;Top(1) prediction is 3694 with value: 0.940841&lt;BR /&gt;Top(2) prediction is 3197 with value: 0.000752777&lt;BR /&gt;Top(3) prediction is 2411 with value: 0.000105063&lt;BR /&gt;Top(4) prediction is 1972 with value: 4.33676e-05&lt;BR /&gt;Top(5) prediction is 1081 with value: 4.27122e-05&lt;BR /&gt;Total time for 1 test cases: 0.831 seconds&lt;BR /&gt;Average time per test case: 831.004 ms&lt;BR /&gt;Overall accuracy: 1.000&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;With GPU Backend:&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;----------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;root@imx8qxpmek:/usr/bin/ArmnnTests# CaffeInception_BN-Armnn --compute=VsiNpu --data-dir=data --model-dir=models&lt;BR /&gt;ArmNN v20190801&lt;BR /&gt;W [query_hardware_caps:53]Unsupported evis version&lt;BR /&gt;Warn-Start NN execution&lt;BR /&gt;Warn-Start NN execution&lt;BR /&gt;= Prediction values for test #0&lt;BR /&gt;Top(1) prediction is 3694 with value: 0.899821&lt;BR /&gt;Top(2) prediction is 3197 with value: 0.000630801&lt;BR /&gt;Top(3) prediction is 2411 with value: 0.000116962&lt;BR /&gt;Top(4) prediction is 1081 with value: 4.72108e-05&lt;BR /&gt;Top(5) prediction is 567 with value: 1.84702e-05&lt;BR /&gt;Total time for 1 test cases: 2.073 seconds&lt;BR /&gt;Average time per test case: 2073.426 ms&lt;BR /&gt;Overall accuracy: 1.000&lt;/P&gt;&lt;P&gt;In the above example with GPU acceleration ,we can see the Total time for the test cases taken is more&lt;BR /&gt;than the one computed with CPU.. and we can see this error when the demo is run with GPU acceleration:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;W [query_hardware_caps:53]Unsupported evis version&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Warn-Start NN execution&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Warn-Start NN execution&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;and Total Time taken is more when run with GPU acceleration compared to CPU?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Can anyone please guide me what could be the issue?&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;</description>
      <pubDate>Mon, 17 May 2021 11:37:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/eIQ-Machine-Learning-Software/Running-ARMNN-CAFFE-Binary-on-IMX8-board-with-GPU-Acceleration/m-p/1277578#M365</guid>
      <dc:creator>Divya17</dc:creator>
      <dc:date>2021-05-17T11:37:40Z</dc:date>
    </item>
  </channel>
</rss>

