TypeError: unhashable type: 'numpy.ndarray'
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