0

How do I make an autoencoder with 2 different images at the output layer? I am asked to average 2 images as input to a neural network and receive both images separately as output.

  • 1
    Use one common encoder to get the latent code and use two different decoders taking the latent code as input and generating images. – Leo Jun 18 '21 at 14:58
  • Do you have a sample code for this or a pseudocode? Also how will I ensure that both the decoders return both images instead of getting the same image twice? – SabeehAlam Jun 18 '21 at 15:19
  • This is just an initial idea. Apart from your questions, which decoder would output which image and how the other one know about it? is also a question roaming in my mind – Leo Jun 19 '21 at 16:19

0 Answers0