Skip to content

Question about the window size operation #3

@Mahiro2211

Description

@Mahiro2211

thanks for sharing the code
but I found that in the contrastive_memory_prism loss file
it shows that

self.margin_window=self.margin_window[-1:]

before taking a sum operation, the self.margin_windows only contains one element. I'm a bit confused and would appreciate some insight.

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