Skip to content

What is the use of class and masks? #107

@rohit901

Description

@rohit901
 if class_ids is not None:
        scores0.data.masked_fill_(masks, -float('inf'))

This code is used in some of the generator losses or in the DAMSM loss..
what is the need for using class when we want to generate images and not do classification?

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