Skip to content

large model inference result not correct? #23

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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