Skip to content

SAM 2.1 weights cannot be loaded / incompatible with FATE-SAM #3

@28509211

Description

@28509211

Dear authors,

Thank you for releasing FATE-SAM.
I encountered an issue when trying to use SAM 2.1 weights (the newly released checkpoints from Meta SAM2.1) with FATE-SAM.

TypeError: SAM2Base.init() got an unexpected keyword argument 'no_obj_embed_spatial'

This indicates that SAM 2.1 architecture and config format have changed, and the current FATE-SAM implementation is only compatible with an older SAM2 version, not SAM 2.1.

Request

Could you please clarify:

✔️ Does FATE-SAM currently support SAM 2.1 checkpoints?
✔️ If not, will there be an update to support SAM 2.1?
✔️ If possible, please provide the compatible SAM2 commit hash or release tag for FATE-SAM.

This would greatly help users avoid confusion, because many will try to use SAM 2.1 weights by default.

Thank you again for your excellent work on FATE-SAM.
Looking forward to your clarification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions