Skip to content

large model inference result not correct? #23

@tianleiwu

Description

@tianleiwu

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:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions