Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the use of class and masks? #107

Open
rohit901 opened this issue Oct 28, 2022 · 0 comments
Open

What is the use of class and masks? #107

rohit901 opened this issue Oct 28, 2022 · 0 comments

Comments

@rohit901
Copy link

rohit901 commented Oct 28, 2022

 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant