Closed ZhaoWeicheng98 closed 3 years ago
Hi, thanks for your question first! For this question, I thought it is due to the biases in the training images in the dataset, i.e. they put the face in the center of of an image. Then the model might only learn to inpaint images under this setting. Besides, it seems that the cropped images are also resized to to 256, under which setting the model might fail due to the change of context resolution. Can you try to inpaint on the cropped images without resizing them? I thought there should have some way to generate good results even if the images are cropped.
Thank you for your quick reply. I tried setting the target size to 128*128 on the cropped images following your instruction. However, it seems better than before, still not very well.
Masked:
Result:
If the set target size is 128*128 for original CelebA images, the results are worse than before.
Masked:
Result:
Maybe a re-train or finetune is needed for a cross-resolution generation? Thanks!
Thank you for your quick reply. I tried setting the target size to 128*128 on the cropped images following your instruction. However, it seems better than before, still not very well.
Masked:
Result:
If the set target size is 128*128 for original CelebA images, the results are worse than before.
Masked:
Result:
Maybe a re-train or finetune is needed for a cross-resolution generation? Thanks!
Yeah, given the results from your case, it then seems to be necessary to at least finetune the model for a while.
First of all, thank you for your work!
I tried the CelebA pretrained weight on some pictures that were cropped from pictures in the CelebA dataset. These cropped pictures are mostly of faces. However, I found that though the model worked well on pictures originally from the CelebA dataset, it did not give out a good result when cropped pictures were provided. Masks are randomly added to my tests.
For example, here are 2 pictures from the original CelebA dataset.
here are the masked of these 2 pictures
The model's results on these 2 pictures are indeed good.
Here are my cropped version of those 2 pictures. I chose the face parts and cropped them out.
here are the masked of these 2 cropped pictures
However,the results this time are not very good, even they were masked to a similar extent.
Considering the result, the model might be overfitting? Looking forward to your reply on this test.