usls icon indicating copy to clipboard operation
usls copied to clipboard

Scripts for custom resolution for quantized sam3 image onnx

Open zhiweit opened this issue 4 months ago • 1 comments

hi @jamjamjon thank you for sharing the sam3 image onnx export and inference scripts (I noticed you have different quantized onnx files e.g. bnb4, fp16, int8, q4f16, q8 but for 1008x1008. Do you have the scripts for creating these quantized onnx but with custom/different image dimensions? e.g. 644x644 instead of 1008x1008?

zhiweit avatar Jul 07 '26 01:07 zhiweit

hi @jamjamjon thank you for sharing the sam3 image onnx export and inference scripts (I noticed you have different quantized onnx files e.g. bnb4, fp16, int8, q4f16, q8 but for 1008x1008. Do you have the scripts for creating these quantized onnx but with custom/different image dimensions? e.g. 644x644 instead of 1008x1008?

Refer to: https://github.com/microsoft/onnxruntime/tree/main/onnxruntime/python/tools/quantization

jamjamjon avatar Jul 08 '26 02:07 jamjamjon