Open kutieling opened 3 months ago
Our current model is designed for unpaired data as long as the numbers of images from trainA and trainB are the same. In your case, just get equal numbers for trainA and trainB.
Hi, I think the different number of images in A and B should be fine.
Because in the unaligned_dataset.py
, the __getitem__
implementation is totally the same as in CycleGAN one unless there are some changes that have to be equal outside of the dataset.
The author of CycleGAN answer the similar question before, https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix/issues/1365#issuecomment-1012608572.
Thank you for your sharing, your work is very wonderful. I would like to ask if your work can do unpaired image to image translation? That is, the number of images in trainA and trainB is different, thank you.