Forums - How can i get predict result in c++ code executeNetwork

2 posts / 0 new
Last post
How can i get predict result in c++ code executeNetwork
linnanbryant
Join Date: 2 Jan 19
Posts: 9
Posted: Sun, 2019-01-06 22:14

Hi,

i want to get the predict result in c++ code, could anybody tell me how can i get it after calling the API:executeNetwork,

because everytime after running the executeble file, i have to get the predict result by running the python script  show_alexnet_classifications.py to check the result, this is stupid, and i want to use the result of API executeNetwork to print in the code directly.

  • Up0
  • Down0
gesqdn-forum
Join Date: 4 Nov 18
Posts: 184
Posted: Tue, 2019-02-12 02:56

Hi Linnanbryant,

The documentation provided along with the SDK have as section for interpretation of the results.

You can find this section  in "snpe-sdk/doc/html/cplus_plus_tutorial.html" of your SNPE sdksetup.

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