vickyFox / Region-wise-Inpainting

Region-wise GAN, image inpainting
MIT License
54 stars 17 forks source link

Pretrained models #9

Open hhheeexxxuuu opened 4 years ago

hhheeexxxuuu commented 4 years ago

Thank you for your work! You have provided two pretrained models: Pretrained model and ijcai Pretrained model. What is the difference between them? I have trained the model with 28000 face dataset and using wgan-gp loss with ijcai Pretrained model when the value of stage is one . But the model does not converge as follows. What' more, I think the code of wgan_gp loss should be change a little. Another question is how many iterations do you used? Could you give me some advice? 2 无标题

shihaobai commented 4 years ago

Thanks for your attention! The ijcai pretrained model is the pretrained model for our previous work, "Coarse-to-Fine Image Inpainting via Region-wise convolutions and Non-local correlation". You'd better train our model from the beginning. In the first stage, we pretrain the model for 9 epoches without adversarial loss and then train the model with adversarial loss for 19 epoches. What's more, we didn't normalize the loss function during training. Therefore, the value of loss is large when it finally converges.

hhheeexxxuuu commented 4 years ago

Thank you very much! I will try again.