Feed (image, image) pairs as data to a VAE

Hello,
I’m trying to implement a variation auto-encoder. The architecture seems OK! Now the challenge is organising my dataset. Both input and output to the network is a pair of same image! How should I feed my own dataset to the network?

Any tip would be helpful.
Thanks
Saeed

you may refer to the implementation of ImageFolder.

and it’s used with Dataloader

2 Likes