You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Briefly speaking, shortcut layers pass the information from encoder layers to decoder layers. Since the AttGAN generator, which is composed of an encoder and a decoder, is a U-Net structure, the corresponding layers in the encoder and the decoder has the same dimension and information can be passed between them.
Injection layers, on the other hand, inform the intermediate layers of the decoder about the target attributes. Traditional condition GAN's generator gets the target attributes at the beginning layer. The information will somehow lose when they fly through the whole network. Telling intermediate decoder layers target attributes encourage they to translate the image toward the them.
If you'd like to read more, please refer to the paper.
Hi,
Many thanks for providing your code publicly.
Could you please explain what are shortcut_layers and inject_layers in generator?
Thank you.
The text was updated successfully, but these errors were encountered: