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'])
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
Dear customer,
You can dump the SNPE layer to review which layer encounter errors for your model execution.
BR.
Wei