<?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>topic imx93 for eIQ Demos in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx93-for-eIQ-Demos/m-p/1847879#M222580</link>
    <description>&lt;P&gt;Hi NXP,&lt;BR /&gt;I am using the i.MX 93 11x11 with kernel 6.1.36 and running eIQ Demos, but currently, it fails to execute.&lt;BR /&gt;Referencing (9.1 TensorFlow Lite Demos for i.MX 93),&lt;BR /&gt;the following error occurs.&lt;BR /&gt;root@imx93-11x11-lpddr4x-evk:/usr/bin/eiq-examples-git# python3 download_models.py&lt;BR /&gt;Download file from &lt;A href="https://drive.google.com/uc?export=download&amp;amp;&amp;amp;id=1yjWyXsac5CbGWYuHWYhhnr_9cAwg3uNI" target="_blank"&gt;https://drive.google.com/uc?export=download&amp;amp;&amp;amp;id=1yjWyXsac5CbGWYuHWYhhnr_9cAwg3uNI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1705, in gzopen&lt;BR /&gt;t = cls.taropen(name, mode, fileobj, **kwargs)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1682, in taropen&lt;BR /&gt;return cls(name, mode, fileobj, **kwargs)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1542, in __init__&lt;BR /&gt;self.firstmember = self.next()&lt;BR /&gt;^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 2379, in next&lt;BR /&gt;raise e&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 2352, in next&lt;BR /&gt;tarinfo = self.tarinfo.fromtarfile(self)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1122, in fromtarfile&lt;BR /&gt;buf = tarfile.fileobj.read(BLOCKSIZE)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/gzip.py", line 301, in read&lt;BR /&gt;return self._buffer.read(size)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/_compression.py", line 68, in readinto&lt;BR /&gt;data = self.read(len(byte_view))&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/gzip.py", line 499, in read&lt;BR /&gt;if not self._read_gzip_header():&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/gzip.py", line 468, in _read_gzip_header&lt;BR /&gt;last_mtime = _read_gzip_header(self._fp)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/gzip.py", line 428, in _read_gzip_header&lt;BR /&gt;raise BadGzipFile('Not a gzipped file (%r)' % magic)&lt;BR /&gt;gzip.BadGzipFile: Not a gzipped file (b'&amp;lt;h')&lt;/P&gt;&lt;P&gt;The above exception was the direct cause of the following exception:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/bin/eiq-examples-git/download_models.py", line 98, in &amp;lt;module&amp;gt;&lt;BR /&gt;download_all_models(model_dir, vela_dir)&lt;BR /&gt;File "/usr/bin/eiq-examples-git/download_models.py", line 43, in download_all_models&lt;BR /&gt;decompress(path, model_dir)&lt;BR /&gt;File "/usr/bin/eiq-examples-git/download_models.py", line 28, in decompress&lt;BR /&gt;tar = tarfile.open(path, "r:gz")&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1652, in open&lt;BR /&gt;return func(name, filemode, fileobj, **kwargs)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1709, in gzopen&lt;BR /&gt;raise ReadError("not a gzip file") from e&lt;BR /&gt;tarfile.ReadError: not a gzip file&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2024 08:32:35 GMT</pubDate>
    <dc:creator>charleshuang</dc:creator>
    <dc:date>2024-04-16T08:32:35Z</dc:date>
    <item>
      <title>imx93 for eIQ Demos</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx93-for-eIQ-Demos/m-p/1847879#M222580</link>
      <description>&lt;P&gt;Hi NXP,&lt;BR /&gt;I am using the i.MX 93 11x11 with kernel 6.1.36 and running eIQ Demos, but currently, it fails to execute.&lt;BR /&gt;Referencing (9.1 TensorFlow Lite Demos for i.MX 93),&lt;BR /&gt;the following error occurs.&lt;BR /&gt;root@imx93-11x11-lpddr4x-evk:/usr/bin/eiq-examples-git# python3 download_models.py&lt;BR /&gt;Download file from &lt;A href="https://drive.google.com/uc?export=download&amp;amp;&amp;amp;id=1yjWyXsac5CbGWYuHWYhhnr_9cAwg3uNI" target="_blank"&gt;https://drive.google.com/uc?export=download&amp;amp;&amp;amp;id=1yjWyXsac5CbGWYuHWYhhnr_9cAwg3uNI&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1705, in gzopen&lt;BR /&gt;t = cls.taropen(name, mode, fileobj, **kwargs)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1682, in taropen&lt;BR /&gt;return cls(name, mode, fileobj, **kwargs)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1542, in __init__&lt;BR /&gt;self.firstmember = self.next()&lt;BR /&gt;^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 2379, in next&lt;BR /&gt;raise e&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 2352, in next&lt;BR /&gt;tarinfo = self.tarinfo.fromtarfile(self)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1122, in fromtarfile&lt;BR /&gt;buf = tarfile.fileobj.read(BLOCKSIZE)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/gzip.py", line 301, in read&lt;BR /&gt;return self._buffer.read(size)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/_compression.py", line 68, in readinto&lt;BR /&gt;data = self.read(len(byte_view))&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/gzip.py", line 499, in read&lt;BR /&gt;if not self._read_gzip_header():&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/gzip.py", line 468, in _read_gzip_header&lt;BR /&gt;last_mtime = _read_gzip_header(self._fp)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/gzip.py", line 428, in _read_gzip_header&lt;BR /&gt;raise BadGzipFile('Not a gzipped file (%r)' % magic)&lt;BR /&gt;gzip.BadGzipFile: Not a gzipped file (b'&amp;lt;h')&lt;/P&gt;&lt;P&gt;The above exception was the direct cause of the following exception:&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/bin/eiq-examples-git/download_models.py", line 98, in &amp;lt;module&amp;gt;&lt;BR /&gt;download_all_models(model_dir, vela_dir)&lt;BR /&gt;File "/usr/bin/eiq-examples-git/download_models.py", line 43, in download_all_models&lt;BR /&gt;decompress(path, model_dir)&lt;BR /&gt;File "/usr/bin/eiq-examples-git/download_models.py", line 28, in decompress&lt;BR /&gt;tar = tarfile.open(path, "r:gz")&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1652, in open&lt;BR /&gt;return func(name, filemode, fileobj, **kwargs)&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;File "/usr/lib/python3.11/tarfile.py", line 1709, in gzopen&lt;BR /&gt;raise ReadError("not a gzip file") from e&lt;BR /&gt;tarfile.ReadError: not a gzip file&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 08:32:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx93-for-eIQ-Demos/m-p/1847879#M222580</guid>
      <dc:creator>charleshuang</dc:creator>
      <dc:date>2024-04-16T08:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: imx93 for eIQ Demos</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx93-for-eIQ-Demos/m-p/1849890#M222704</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/43469"&gt;@charleshuang&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;As you mention some links within the script are broken. I will report it to solve it as soon as possible. In the meantime, let me guide you through downloading the models so you can run the examples in section 9.1.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;9.1.1 Image classification demo&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;cd /usr/bin/eiq-examples-git/models/
# Get models
wget https://www.kaggle.com/models/tensorflow/mobilenet-v1/frameworks/TfLite/variations/1-0-224-quantized/versions/1/download/QcXckPqvAHPeOIWzfl1C%2Fversions%2FZ7a7ay8NCjo6fj7zV4Wy%2Ffiles%2F1.tflite
mv QcXckPqvAHPeOIWzfl1C%2Fversions%2FZ7a7ay8NCjo6fj7zV4Wy%2Ffiles%2F1.tflite mobilenet_v1_1.0_224_quant.tflite
# Run example
cd ../image_classification/
python3 label_image.py -i grace_hopper.bmp -l labels.txt&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;9.1.2 SSD object detection demo&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;cd /usr/bin/eiq-examples-git/models/
# Get models
wget https://storage.googleapis.com/tfhub-lite-models/tensorflow/lite-model/ssd_mobilenet_v1/1/metadata/2.tflite
mv 2.tflite ssd_mobilenet_v1_quant.tflite
# Run example
cd ../object_detection/
python3 main.py --delegate /usr/lib/libethosu_delegate.so&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;9.1.3 Hand gesture detection demo&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;cd /usr/bin/eiq-examples-git/models/
# Get models
wget https://s3.ap-northeast-2.wasabisys.com/pinto-model-zoo/033_Hand_Detection_and_Tracking/resources.tar.gz
# Extract models
tar -xvzf resources.tar.gz 033_Hand_Detection_and_Tracking/03_integer_quantization
tar -xvzf 033_Hand_Detection_and_Tracking/03_integer_quantization/resources.tar.gz
# Clean directory
rm -r 033_Hand_Detection_and_Tracking
rm hand_landmark_256_integer_quant.tflite
rm resources.tar.gz
# Run example
cd ../gesture_detection/
python3 main.py --delegate /usr/lib/libethosu_delegate.so&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;9.1.4 Face recognition demo&lt;/STRONG&gt;&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;cd /usr/bin/eiq-examples-git/models/
# Get models
wget https://raw.githubusercontent.com/imuncle/yoloface-50k/main/tflite/yoloface_int8.tflite
wget https://raw.githubusercontent.com/shubham0204/FaceRecognition_With_FaceNet_Android/master/app/src/main/assets/facenet_512_int_quantized.tflite
# Run example
cd ../face_recognition/
python3 main.py --delegate /usr/lib/libethosu_delegate.so&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that in some examples I am using the --delegate argument. This is to improve the performance of the examples. I'm also assuming you have a camera web connected to the board. Anyway, you just can simply download the models and follow the instructions in the Machine Learning User's Guide. Please let me know if any problem occurs.&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2024 12:19:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx93-for-eIQ-Demos/m-p/1849890#M222704</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2024-04-18T12:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: imx93 for eIQ Demos</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx93-for-eIQ-Demos/m-p/2027073#M232947</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;it looks like some of the download links are no longer working. The Object Detection model from tfhub is giving a 403 Forbidden error.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 23:43:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx93-for-eIQ-Demos/m-p/2027073#M232947</guid>
      <dc:creator>zebular13</dc:creator>
      <dc:date>2025-01-13T23:43:38Z</dc:date>
    </item>
  </channel>
</rss>

