Forums - TypeError: unhashable type: 'numpy.ndarray'

1 post / 0 new
TypeError: unhashable type: 'numpy.ndarray'
spavithra.1182
Join Date: 16 Aug 23
Posts: 2
Posted: Wed, 2023-08-23 03:48

 

 

 

Hello,

I'm trying to run snpe-tflite-to-dlc in Ubuntu 20.04 , tflite version - 2.3.0 and python version - 3.8  but I am getting the error message that follows:

Command:  snpe-tflite-to-dlc --input_network /home/pavithra/person.tflite --input_dim input 1,640,640,3 --output_path /home/pavithra/person.dlc

Error:
File "/opt/qcom/aistack/snpe/2.13.0.230730/lib/python/qti/aisw/converters/relay/passes/pattern_match/tflite_dequantize.py", line 81, in populate_quantization_info
    bw = DataTypeBitwidths[dtype]
TypeError: unhashable type: 'numpy.ndarray'
 
And I tried for ubuntu 18.04 for both python 3.8 and python 3.6 but I got the same error.
 
Thanks you

 

 

 

 

 

  • Up0
  • Down0

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.