Fantasy-Studio / Paint-by-Example

Paint by Example: Exemplar-based Image Editing with Diffusion Models
https://arxiv.org/abs/2211.13227
Other
1.03k stars 93 forks source link

How to extract the foreground of the reference image before using DCCF? #16

Closed Delicious-Bitter-Melon closed 1 year ago

Delicious-Bitter-Melon commented 1 year ago

Thanks for your excellent work. When reading your paper, I am confused about how to extract the foreground of the reference image before using DCCF. Are these foreground masks generated automatically through LAMA? If so, can you elaborate on how to implement it?

Fantasy-Studio commented 1 year ago

We appreciate your interest in our work. The foreground masks are manually annotated.