You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fromonnxruntime.quantizationimportquantize_dynamic, QuantType# Define input and output model pathsmodel_fp32="face_landmark.onnx"# Original modelmodel_quant="face_landmark_quantized.onnx"# Quantized model# Perform dynamic quantizationquantize_dynamic(
model_input=model_fp32,
model_output=model_quant,
weight_type=QuantType.QInt8# Quantize weights to int8
)
print(f"Quantized model saved as {model_quant}")
Ezkl cli version: 19.0.7
After running ezkl gen-settings -M face_landmark_quantized.onnx, there's this error:
original model: https://huggingface.co/unity/sentis-face-landmarks
Script to quantize:
Ezkl cli version: 19.0.7
After running
ezkl gen-settings -M face_landmark_quantized.onnx
, there's this error:[E] [2025-02-20 07:06:23:602, ezkl] - [graph] [tract] Failed analyse for node #197 "conv2d_1_quant" ConvHir
The text was updated successfully, but these errors were encountered: