junyanz / pytorch-CycleGAN-and-pix2pix

Image-to-Image Translation in PyTorch
Other
22.8k stars 6.29k forks source link

can find the results of combine_A_and_B.py #1515

Open 1987521 opened 1 year ago

1987521 commented 1 year ago

Why combine_A_and_B.py can only combine the same picture? Once i put different photos in two folder A and B, the code is still working shown nothing wrong but there isn't any results in the folder_AB

maryam95hallal commented 1 year ago

Hello The following worked for me: The images in folder A and B must have the same name and size set the flag --fold_AB to an existing folder

1987521 commented 1 year ago

Hello The following worked for me: The images in folder A and B must have the same name and size set the flag --fold_AB to an existing folder

yes, i found the problems that the folder A and B didn't have the same size

maryam95hallal commented 1 year ago

you can either resize the image b or add padding or empty pixels