Forums - Inference dlc models with python

3 posts / 0 new
Last post
Inference dlc models with python
raiger
Join Date: 2 Dec 22
Posts: 1
Posted: Wed, 2022-12-14 12:19

Hi, everyone! I've a question: Is it possible to inference dlc models with python directly without C++ code and wrappers? 

I saw in documents that in SNPE 1.68 exists only Java and C++ API. But I have a thought that python API was missed. Or it's only possible to run inference from python by calling snpe-run-net binary file?

  • Up0
  • Down0
sanjjey.a.sanjjey
Join Date: 17 May 22
Posts: 57
Posted: Wed, 2022-12-14 20:46

Hi,

Python API is not supported in the snpe, Only Java, C++ API's are supported as mentioned in the documents.

 

Thanks.

  • Up0
  • Down0
rneti
Join Date: 16 Jun 22
Posts: 4
Posted: Wed, 2024-01-31 04:17

Hello - Python API is not officially supported in SNPE, but recently we made two tools to support Python API with Neural Processing SDK for AI 

 

1. PySNPE - Python interface to SDK tool - https://github.com/quic/qidk/blob/master/Tools/pysnpe_utils/README.md

2. snpe-helper - Python wrapper for SDK C++ API for deployment - https://github.com/quic/qidk/blob/master/Tools/snpe-helper/README.md

 

These may be useful for your development. Pls check once. 

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