Skip to content

Question about SAM detector integration #15

Description

@amanzanorodriguez

Hello,

I'm trying to use SAM as the detector, meaning:

mim train mmdet configs/models/sam/lg_sam.py

I'm struggling with

/SurgLatentGraph/model/modified_detectors/sam_detector.py

as the imports seem to be written for SAM1, but the code itself seems to be for SAM2. Am I misunderstanding something?

Could you provide a bit more detail on how to make it work? Also, which version did you use, and how compatible is it with SurgLatentGraph?

Thank you so much for your great work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions