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

Hi, I trained your model but result not very good

Open lucasjinreal opened this issue 8 years ago • 14 comments

I run apple - > orange but when transfer apple to orange the result is very pool, using the default image size, I also trained the original pytorch version, it generates just nice picture, is I am not training enough epoch?

lucasjinreal avatar May 18 '17 09:05 lucasjinreal

Thank you for your information. I've just realized that my implementation of PatchGAN was incorrect and I'm working on it.

Regards,

vanhuyz avatar May 18 '17 09:05 vanhuyz

Thanks, this work is very meaningfull, cause original can not even predict single image, If you worked out, update repo let me know, I'd like to follow this project.

lucasjinreal avatar May 18 '17 10:05 lucasjinreal

Hey man, thanks for your awesome repository. Everything is set up awesomely, Tensorboard and all, and I'd love to get this to work.

Unfortunately, I can confirm @jinfagang observation that the resulting models are not good at all. I spent like 20 USD on an AWS EC2 GPU instance until I realized this. Maybe until you fix this issue, mention this in the readme so other people don't waste their time as well.

Thanks!

cpury avatar May 20 '17 11:05 cpury

I've removed the wrong part of PatchGAN and now the results should be better. But it takes time to confirm.

vanhuyz avatar May 23 '17 15:05 vanhuyz

@ Would you add some test image result for current made? Have some sample result could be better I think.

lucasjinreal avatar May 24 '17 02:05 lucasjinreal

Results on training set after 37 epochs.

  • apple2orange: apple2orange

  • orange2apple: orange2apple

vanhuyz avatar May 24 '17 02:05 vanhuyz

I tried on horse2zebra dataset but the results are still blurry. Maybe it is more difficult to translate horse2zebra than orange2apple. Did you train horse2zebra with the original pytorch version?

vanhuyz avatar May 24 '17 02:05 vanhuyz

I have trained original summer2winter and apple2orange, both get in some level fair result, at least the resolution are more clear.

lucasjinreal avatar May 24 '17 07:05 lucasjinreal

I fixed another issue and retrained horse2zebra. The results are quite promising. A screenshot after 87 epochs: screen shot 2017-05-26 at 2 48 54 pm

vanhuyz avatar May 26 '17 05:05 vanhuyz

@vanhuyz Hi, I also managed predict using original torch version and reconstruct a production version, here is the repo https://github.com/jinfagang/pytorch_cycle_gan, I have some results, seems original still more clear, what did you see? Maybe we can discuss about the difference detail, do you have wechat ?

lucasjinreal avatar May 26 '17 06:05 lucasjinreal

What does the another issue mean? Could you please point it out specifically?

lhao0301 avatar May 26 '17 11:05 lhao0301

@TX2012LH just 1 line but critical https://github.com/vanhuyz/CycleGAN-TensorFlow/commit/960d1b085459856213d653d0f4e5a1c42dc1f0cf. G and F of cycle loss were reversed :flushed:

vanhuyz avatar May 26 '17 14:05 vanhuyz

@jinfagang Sorry I don't have wechat. How about via email?

vanhuyz avatar May 26 '17 14:05 vanhuyz

This is my email [email protected], you can send me some information

lucasjinreal avatar May 27 '17 10:05 lucasjinreal