leehomyc / Faster-High-Res-Neural-Inpainting

High-Resolution Image Inpainting using Multi-Scale Neural Patch Synthesis
http://www.harryyang.org/inpainting
MIT License
1.3k stars 213 forks source link

how to create mask.png? #10

Closed NerminSalem closed 7 years ago

NerminSalem commented 7 years ago

hi, how can i change the mask location used in blend,lua? ex: i want to make the square mask to mask the top left of the image instead of the center? can u help

kennylovesfree commented 7 years ago

Same question here. Thanks for author's help

leehomyc commented 7 years ago

I created it manually. But the context encoder can only inpaints the center of the image. I would suggest move the top left of the image to the center (by padding).

NerminSalem commented 7 years ago

thanks alot