CycleGAN-TensorFlow icon indicating copy to clipboard operation
CycleGAN-TensorFlow copied to clipboard

Can CycleGAN deal with input data images with different size?

Open pc0065666 opened this issue 6 years ago • 5 comments

Can CycleGAN deal with input data images with different size?

Should I change images size?

Thank You for your attention.

pc0065666 avatar Oct 15 '17 13:10 pc0065666

Input data images may have different size but at the moment they have to be square.

vanhuyz avatar Oct 16 '17 04:10 vanhuyz

I truly appreciate it!

pc0065666 avatar Oct 16 '17 08:10 pc0065666

If the images are not square, can CycleGAN process it? How to modify the code? Thank you.

Kongsea avatar Mar 05 '18 02:03 Kongsea

A simple way is to write a short program to reshape / crops your images to the requested size, then move them to the input folder. That's what I do.

doantientai avatar May 25 '18 13:05 doantientai

I've made a simple code here to crop and shrink an image.

viniciusarruda avatar Jun 06 '18 21:06 viniciusarruda