Skip to content

Features for forward() in SPARTA_H #2

@grannycola

Description

@grannycola

Hi, I have a question regarding the forward() method in SPARTA_H:

def forward(self, src, tgt):
    CTD_output = self.CTD(src, src)
    FTD_output = self.FTD(src, tgt)
    return CTD_output, FTD_output

What exactly do src and tgt represent in this context?

From what I understand, src refers to the current pose sequence. If we are working with a large temporal window, say of size 48, does src correspond to the first 24 frames or the last 24 frames?
Additionally, I noticed that in the current implementation, both inputs to CTD are src. Wouldn't it make more sense to use tgt instead, like this?

def forward(self, src, tgt):
    CTD_output = self.CTD(tgt, tgt)
    FTD_output = self.FTD(src, tgt)
    return CTD_output, FTD_output

Is the current implementation intentional, or is this a potential mistake?
Thanks in advance for 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