Skip to content

mismatch of sam2 #13

Description

@solitarytemple

I was running the script visualize_patch_score_distribution.py and triggered a Hugging Face download for "--sam-model-id=facebook/sam2.1-hiera-small" when an error popped out: "You are using a model of type sam2_video to instantiate a model of type sam2". Then I went to the facebook repository of sam2.1-hiera-small and I found that the image and video tasks seem to share the same .pt weight file but the .json configuration differs which is video mode by default.

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