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

How to get the labels of generated images #37

Open
Eureka-Y opened this issue Apr 2, 2023 · 1 comment
Open

How to get the labels of generated images #37

Eureka-Y opened this issue Apr 2, 2023 · 1 comment

Comments

@Eureka-Y
Copy link

Eureka-Y commented Apr 2, 2023

Hi Eugen,
I have successfully generated the image with NADE model,but i don't konw how to generate the label of the image.I don't see relative functions in codes.Can i get the label by some functions?

@EugenHotaj
Copy link
Owner

EugenHotaj commented Apr 10, 2023

@Eureka-Y there is no easy way to get the label of the generated image because the models are not conditioned on the label. There are a few ways you could get labels, but these require significant effort:

  1. Use a discriminative model to predict the label of the generated images.
  2. Modify the models to be conditioned on the label so you can control which class the images are generated from.
  3. Modify the models to also output the label of the generated image (this might not work too well in practice).

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

2 participants