Jittor / JGAN

JGAN model zoo supports 27 kinds of mainstream GAN models with high speed for jittor.
169 stars 56 forks source link

[enhancement] Pix2pix #17

Open Bailey-24 opened 2 years ago

Bailey-24 commented 2 years ago

I ran your pix2pix code in 200 epochs. But I got too many bad results, shown as follows. The generated image is in the middle. The ground truth is the left side. The conditional image is the right side. image image I think the reason why there are bad results is that you didn't set the right patch. The patch meaning can be founded in the original paper in the discriminator section. But I wouldn't find the patch setting in your code. Would you please tell me where I can set the patch size.

diamond0910 commented 2 years ago

Thank you for your attention. We have recently implemented an enhanced version of pix2pix, which is consistent with the paper. We will sort it out and let you know after uploading it in the next two days.

Bailey-24 commented 2 years ago

Thanks in advance. May I ask one more question? Does the new code have the inference file (test.py)?

diamond0910 commented 2 years ago

There will be a test.py script for inference to show the result image. If your willing is the FCN score inference file, we are writing it.

diamond0910 commented 2 years ago

Hi, You can try this https://github.com/zhouwy19/XNN-Project/tree/main/pix2pix.