vanhuyz / CycleGAN-TensorFlow

An implementation of CycleGan using TensorFlow
MIT License
1.19k stars 436 forks source link

Can this demo output ".png" image #97

Open fcs203 opened 5 years ago

fcs203 commented 5 years ago

Can this repository output ".png" images with "inference.py"? I modify tf.image.decode_jpeg to tf.image.decode_png to read the png images but the output is still jpeg, how should I modify the code? Thank you very much

beshining commented 5 years ago

Modifying decode_jpeg to decode_png has nothing to do with saving '.png' image, you should change the suffix of output name from '.jpg' to '.png'