(py310) PS C:\Qualcomm\AIStack\QAIRT\2.22.6.240515\bin\x86_64-windows-msvc> python qnn-model-lib-generator -c C:\Users\26671\Desktop\Qualcomm\best.cpp -b C:\Users\26671\Desktop\Qualcomm\best.bin -t windows-x86_64 -o model_libs
2024-05-29 15:27:50,382 - INFO - qnn-model-lib-generator: Model cpp file path : C:\Users\26671\Desktop\Qualcomm\best.cpp
2024-05-29 15:27:50,382 - INFO - qnn-model-lib-generator: Model bin file path : C:\Users\26671\Desktop\Qualcomm\best.bin
2024-05-29 15:27:50,382 - INFO - qnn-model-lib-generator: Library target : [['windows-x86_64']]
2024-05-29 15:27:50,382 - INFO - qnn-model-lib-generator: Library name : best
2024-05-29 15:27:50,382 - INFO - qnn-model-lib-generator: Output directory : model_libs
2024-05-29 15:27:50,382 - INFO - qnn-model-lib-generator: Build type : Release
2024-05-29 15:27:50,382 - INFO - qnn-model-lib-generator: Clean-up : False
2024-05-29 15:27:50,382 - INFO - qnn-model-lib-generator: Output library name : best
2024-05-29 15:27:50,407 - INFO - qnn-model-lib-generator: Converting raw files to object files starts
2024-05-29 15:27:50,545 - INFO - qnn-model-lib-generator: Extracted raw files from C:\Users\26671\Desktop\Qualcomm\best.bin to obj\binary
2024-05-29 15:30:04,431 - INFO - qnn-model-lib-generator: Converted raw files to object files successfully
Exception in thread Thread-307 (_readerthread):
Traceback (most recent call last): File "C:\Users\26671\.conda\envs\py310\lib\threading.py", line 1016, in _bootstrap_inner self.run() File "C:\Users\26671\.conda\envs\py310\lib\threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "C:\Users\26671\.conda\envs\py310\lib\subprocess.py", line 1499, in _readerthread buffer.append(fh.read()) File "C:\Users\26671\.conda\envs\py310\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd3 in position 1480: invalid continuation byte
2024-05-29 15:30:30,414 - INFO - qnn-model-lib-generator: Generated model library path: C:\Qualcomm\AIStack\QAIRT\2.22.6.240515\bin\x86_64-windows-msvc\model_libs\x64\best.dll
2024-05-29 15:30:30,414 - INFO - qnn-model-lib-generator: Target: windows-x86_64 Library: C:\Qualcomm\AIStack\QAIRT\2.22.6.240515\bin\x86_64-windows-msvc\model_libs\x64\best.dll
qnn-model-lib-generator ERROR
Posted: Wed, 2024-05-29 00:33
I feel like my version is too new to support aarch64 android.
I don't know why it can't run on the WIndows platform either