tamarott / SinGAN

Official pytorch implementation of the paper: "SinGAN: Learning a Generative Model from a Single Natural Image"
https://tamarott.github.io/SinGAN.htm
Other
3.31k stars 611 forks source link

How to use Harmonization? #8

Open xuxiangsun opened 5 years ago

xuxiangsun commented 5 years ago

In README, the author said we have to find the naively pasted reference image and it's binary mask.But I don't know how to do this.Can anybody help me ?

H0icky commented 5 years ago

Go to SinGAN/Input/Harmonization, there have two example

xuxiangsun commented 5 years ago

Go to SinGAN/Input/Harmonization, there have two example

Thanks sir.I know there are two examples there, but I wonder what if i want to use other images like stone.png?Should I have to generate mask by other method?

dunglt2015 commented 5 years ago

Go to SinGAN/Input/Harmonization, there have two example

Thanks sir.I know there are two examples there, but I wonder what if i want to use other images like stone.png?Should I have to generate mask by other method?

Exactly.

XiangruYang commented 5 years ago

Go to SinGAN/Input/Harmonization, there have two example

Thanks sir.I know there are two examples there, but I wonder what if i want to use other images like stone.png?Should I have to generate mask by other method?

I have same question with u,if u have any method to get image’s mask ,please tell me.thanks a lot

xuxiangsun commented 5 years ago

Go to SinGAN/Input/Harmonization, there have two example

Thanks sir.I know there are two examples there, but I wonder what if i want to use other images like stone.png?Should I have to generate mask by other method?

I have same question with u,if u have any method to get image’s mask ,please tell me.thanks a lot I haven't solve it. Almost crazy

tamarott commented 5 years ago

you can create the naively pasted version and the mask manually, using photoshop/paint.net or similar programs