naoto0804 / pytorch-inpainting-with-partial-conv

Unofficial pytorch implementation of 'Image Inpainting for Irregular Holes Using Partial Convolutions' [Liu+, ECCV2018]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can it be used for arbitrary inpaiting(including random positions and shapes)?

micklexqg opened this issue · comments

hi, thanks for your work.
as the title, can it be used for arbitrary inpaiting(including random positions and shapes)?

According to the original paper, it is possible.
If you come up with the specific patterns of the masks, please modify generate_data.py.

@micklexqg ,According to my experiment, it can inpaint any shapes and random positions if you generate random mask as many as possible .