Forums - Error snpe-dlc-quantize

2 posts / 0 new
Last post
Error snpe-dlc-quantize
luca.padovan
Join Date: 28 Sep 18
Posts: 12
Posted: Fri, 2018-12-21 05:30

When i run the following command:

python snpe-dlc-quantize --input_dlc=/usr/src/alexnet.dlc --output_dlc=/usr/src/alexnet_quantized.dlc

i get the following error:

File "snpe-dlc-quantize", line 1
SyntaxError: Non-ASCII character '\xf2' in file snpe-dlc-quantize on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
 

How do i can solve it?

 

  • Up0
  • Down0
gesqdn-forum
Join Date: 4 Nov 18
Posts: 184
Posted: Tue, 2019-02-26 22:07

Hi luca.padovan,
snpe-dlc-quantize is the 64bit Linux based ELF executable file. It is not a Python Script. Please remove the python from your given command and run the executable with proper arguments as expected.

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