Forums - snpe-net-run failing

6 posts / 0 new
Last post
snpe-net-run failing
anshumaan.dash
Join Date: 26 Apr 21
Posts: 4
Posted: Tue, 2022-11-01 23:42

Target Device: SD870

snpe version: 1.64 and 1.55

Fails on Andoid 12 with the following error:

"Failed to open output file for writing: ./output//Result_0/tf.nn.depth_to_space:0.raw"

Please help with this.

  • Up0
  • Down0
weihuan
Join Date: 12 Apr 20
Posts: 270
Posted: Sat, 2022-11-05 23:10

Dear customer,

Could you help to share more logs from CPU and cDSP to us for more deeply analysis?

Also, the possible silution for you can be listed as below

1. add option to snpe-net-run

--platform_options="unsignedPD:OFF"

2. check the input dimesion whether matched your model

BR

Wei

  • Up0
  • Down0
anshumaan.dash
Join Date: 26 Apr 21
Posts: 4
Posted: Sun, 2022-11-06 23:14

Hi,

Sure. 

This is the command:  snpe-net-run --container trial_model_eq.dlc  --input_list list.txt --use_dsp --platform_options="unsignedPD:OFF"

This is the entire log of error that I am seeing:

PlatformOptions (unsignedPD:OFF) set successful config option is valid
-------------------------------------------------------------------------------
Model String: N/A
SNPE v1.64.0.3605
-------------------------------------------------------------------------------
Processing DNN input(s):
./y_stream/28.raw
Failed to open output file for writing: ./output//Result_0/tf.nn.depth_to_space:0.raw
 
The input dimensions match the model as I am able to run the same without any issues on SD675.
 
Could this be an issue with Android 12?
 
Thanks
  • Up0
  • Down0
SahilBandar
Join Date: 23 May 18
Posts: 37
Posted: Tue, 2022-11-08 09:56

Hi anshumaan.dash,

This problem can not be faced in embedded linux platform, as you will be having the required permission to create the file.
As you are facing this problem in android 12 make sure that you are running this with Super User previlleges.

Please let me know if you still face the same error...

Thanks & Regards,
Sahil Bandar

  • Up0
  • Down0
anshumaan.dash
Join Date: 26 Apr 21
Posts: 4
Posted: Tue, 2022-11-08 21:55

Hi SahilBandar,

I tried doing that: after $adb shell, I tried $su -> Gt the error:  /system/bin/sh: su: inaccessible or not found

Kindly let me know how I can run adb shell as a super user.

Thanks and regards,

Anshumaan

  • Up0
  • Down0
anshumaan.dash
Join Date: 26 Apr 21
Posts: 4
Posted: Wed, 2022-12-07 20:45

Can someone please help!

  • 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.