Forums - benchmark failed

3 posts / 0 new
Last post
benchmark failed
liuyawei
Join Date: 11 Jul 22
Posts: 1
Posted: Tue, 2022-07-26 23:50

Hi Team,

I am trying to run snpe_bench.py and test the initialization time of InceptionV3 model, I was able to run the model on the android CPU and got the correct predictions, but while running the benchmark scripts I encounter with some warnings and the results of timing are empty.

Could you please help me with this problem?

Warning Logs:

2022-07-27 14:45:24,915 - INFO - snpe_bench: Running on CPU_timing

2022-07-27 14:45:24,915 - INFO - snpe_bench: Run 1

2022-07-27 14:45:28,419 - WARNING - snpebm.snpebm_parser: Failed to parse /Users/withmyubuntu1804/snpe-1.52.0.2724/benchmarks/InceptionV3/results/2022-07-27_14:45:19/timing/CPU/Run1/SNPEDiag_0.log

2022-07-27 14:45:28,420 - WARNING - snpebm.snpebm_parser: OSError(8, 'Exec format error')

['/Users/withmyubuntu1804/snpe-1.52.0.2724/bin/x86_64-linux-clang/snpe-dlc-info', '-i', '/Users/withmyubuntu1804/snpe-1.52.0.2724/models/inception_v3/dlc/inception_v3_2016_08_28_frozen.dlc']

2022-07-27 14:45:28,712 - WARNING - snpebm.snpebm_parser: Failed to parse /Users/withmyubuntu1804/snpe-1.52.0.2724/models/inception_v3/dlc/inception_v3_2016_08_28_frozen.dlc

2022-07-27 14:45:28,712 - WARNING - snpebm.snpebm_parser: CalledProcessError(1, ['/Users/withmyubuntu1804/snpe-1.52.0.2724/bin/x86_64-linux-clang/snpe-dlc-info', '-i', '/Users/withmyubuntu1804/snpe-1.52.0.2724/models/inception_v3/dlc/inception_v3_2016_08_28_frozen.dlc'])

  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Sat, 2022-07-30 02:16

Dear developer,

You can capture the logcat in Anroid side and check if any errors happened on CPU. Or appreciated to share us for more deeply analysis.

BR.

Wei

  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Sat, 2022-07-30 02:18

Dear customer,

 

You can dump the SNPE layer to review which layer encounter errors for your model execution.

 

BR.

 

Wei

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.