Skip to content

Confused by "obj_ptrs = self.obj_ptr_proj(sam_output_tokens)" in sam2_base.py  #8

@songyang86

Description

@songyang86

Dear Mark12Ding:
When I'm reading your code,which is "obj_ptrs = self.obj_ptr_proj(sam_output_tokens)". your idea is puting obj_ptrs into memory.But in original sam2 code,the module which is "obj_ptr = self.obj_ptr_proj(sam_output_token)",is not been trained.the evidence is " all_frame_outputs = [{k: v for k, v in d.items() if k != "obj_ptr"} for d in all_frame_outputs ]" in sam2.py,which in original sam2.
it means that all related to this module is not been trained.So,in my opinion,‘self.obj_ptr_proj’ can not output right values.

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