Forums - snpe-net-run fails on RB6

3 posts / 0 new
Last post
snpe-net-run fails on RB6
adamj6636
Join Date: 26 May 23
Posts: 3
Posted: Fri, 2023-05-26 04:05

Hello,

I am trying to use the Snapdragon Neural Processing Engine SDK on a qrb5165n IOT RB6. I have set up the SDK on a separate x86 development environment. I have used that to generate a dlc file following the VGG and Inception-v3 tutorials, and have successfully run both those dlc files on the x86 environment using snpe-net-run. However, when I copy those dlc files over to the RB6 they fail when I call snpe-net-run, with this error:

error_code=312; error_message=Undefined error. error_code=312; error_message=Undefined error. SNPE model format version detected: 4.0.0; error_component=SNPE; line_no=59; thread_id=547953209712; error_component=SNPE; line_no=267; thread_id=547967516688

Does anyone know how I can make this work? I am able to call snpe-net-run -h on the RB6 and it displays as expected. The RB6 is running ubuntu 18.04 and python 3.6.

Thanks for any help

  • Up0
  • Down0
linhnguy
Join Date: 6 Jan 21
Posts: 2
Posted: Mon, 2023-05-29 01:17

Hi Adam,

It looks like miss mach SNPE version that you converted at SNPE v1.x but did snpe-net-run at V2.x OR vice versa.

Check snpe-net-run version by: $snpe-net-run --version

 

Regards

Linh

 

  • Up0
  • Down0
adamj6636
Join Date: 26 May 23
Posts: 3
Posted: Mon, 2023-06-05 04:38

Hi Linh,

Just confirming that I was building the dlc using snpe-version 2.10.0.4541 and using snpe-net-run version 1.60.0.3313 which caused the problem. Seems like snpe-net-run version 2.10.0.4541 doesn't work on the RB6, but after building the dlc using snpe version 1.60 I was able to get the dlc to run on the target machine using the corresponding snpe-net-run version.

Thanks for the help,

Adam

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