researchmm / PEN-Net-for-Inpainting

[CVPR'2019] PEN-Net: Learning Pyramid-Context Encoder Network for High-Quality Image Inpainting
https://arxiv.org/abs/1904.07475
MIT License
361 stars 77 forks source link

hard edges #7

Closed niujiaopeng closed 4 years ago

niujiaopeng commented 5 years ago

Thanks for your great job, I found there are hard edges at the border of the mask, how to solve this?

zengyh1900 commented 4 years ago

Sorry for my late reply. It's a good question. We didn't emphasize this common problem in our paper. In existing inpainting papers (e.g. Contex-Encoder), the authors usually emphasize larger weight for the loss from hard edges. You can have a try.