Skip to content

question about feat_encoder #7

@mansang127

Description

@mansang127

The code extracts the features of img1 and img2 respectively, while in RAFT, the features of two images are extracted at the same time by concat, is there a difference in effect?

Code snippets (RAFT) :
fmap1, fmap2 = self.fnet([image1, image2])

Code snippets (FlowFormer) :
feat_s = self.feat_encoder(img1)
feat_t = self.feat_encoder(img2)

It seems that both are weight-sharing, but will running the extractor twice be slower?

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