samexporter
samexporter copied to clipboard
large model inference result not correct?
trafficstars
I tried it in Windows:
python -m samexporter.inference ^
--encoder_model output_models\sam2_hiera_large.encoder.onnx ^
--decoder_model output_models\sam2_hiera_large.decoder.onnx ^
--image images\truck.jpg ^
--prompt images\truck_prompt.json ^
--output output_images\sam2_truck.png ^
--sam_variant sam2 ^
--show
Snippet of output is like the following: