open-mmlab / PowerPaint

[ECCV 2024] PowerPaint, a versatile image inpainting model that supports text-guided object inpainting, object removal, image outpainting and shape-guided object inpainting with only a single model. 一个高质量多功能的图像修补模型,可以同时支持插入物体、移除物体、图像扩展、形状可控的物体生成,只需要一个模型
https://powerpaint.github.io/
MIT License
584 stars 38 forks source link

some questions about the code #26

Closed Arcxml closed 1 month ago

Arcxml commented 6 months ago
image

I want to ask the purpose of this part of code

lijiaxing0213 commented 5 months ago

Possibly, this is intended to generate a schematic diagram with a red mask (mask+input), as shown in Figure 1 of the paper.