Closed Stephenfang51 closed 1 year ago
Please read the README seriously.
tflite2tensorflow \
--model_path palm_detection_lite.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_pb
tflite2tensorflow \
--model_path palm_detection_lite.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_dynamic_range_quant_tflite \
--output_integer_quant_tflite \
--string_formulas_for_normalization 'data / 255.0'
@PINTO0309 Thanks for the reply, I follow the second one and it stuck at
numpy dataset load started ==============
I guess the internet connection bad for docker
so I create a npy and its shape be line (498, 192, 192 ,3) now the calibration dataset load sucessfully but still got the error
floating point exception (core dumped)
here's my full command line
--model_path palm_detection_lite.tflite \
--flatc_path ../flatc \
--schema_path ../schema.fbs \
--output_dynamic_range_quant_tflite
--output_full_integer_quant_tflite
--load_dest_file_path_for_the_calib_npy sample_npy/calibration.npy
--string_formulas_for_normalization 'data' //I did nothing with the dataset
Any suggestion ? Thanks in advanced ! PS. my npy dataset always done normalizations ( divided by 255) and padd the image with zero value to be send to palm detection
Issue Type
Feature Request
OS
Ubuntu
OS architecture
aarch64
Programming Language
Python
Framework
TensorFlowLite
Model name and Weights/Checkpoints URL
NO
Description
Hi I wonder if you will provide the integer version for new mediapipe palm detection and hand landmark models since your link is for previous version.
I try using tflite2tensorflow to quantize the models myself but got error like below
Relevant Log Output
No response
URL or source code for simple inference testing code
No response