ajbrock / BigGAN-PyTorch

The author's officially unofficial PyTorch BigGAN implementation.
MIT License
2.86k stars 476 forks source link

How should I conditional generate samples #47

Closed bywbilly closed 5 years ago

bywbilly commented 5 years ago

I found that your categorical distribution label is sampled during the sample period. How should I conditional on a specific label to generate samples?

Thanks for the awesome code!

bywbilly commented 5 years ago

Sorry for this issue. I thought I figured it out. Basically, I can directly pass a label tensor into the generator instead of the wrap distribution wrapper.