Skip to content

maskgen: diffloss input parameters do not have text_condition #117

Description

@gjhhust

The code on line 564 in https://github.com/bytedance/1d-tokenizer/blob/main/modeling/maskgen.py

 loss, loss_dict = self.diffloss(target=target, z=z, mask=mask, text_condition=text_condition)

However, the forward input of diffloss only has three parameters: def forward(self, target, z, mask=None):

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