Brembles
Brembles
@a-r-r-o-w Hi, I am very interested in outpainting. Can you share it with me
> > @a-r-r-o-w你好,我对外画很感兴趣。你能和我分享一下吗? > > 查看我之前回复中的代码和使用方法@Brembles:) 它支持不多,但我认为足够开始使用。如果有兴趣添加社区管道,将添加更多功能。 I discovered a problem. When the strength parameter is adjusted to any parameter other than 1, outpainting will be invalid, even 0.99.
> @Brembles我也遇到过这个问题。我认为原因是,当我们执行外画时,图像上的变换是在黑色画布上完成的(下面的示例是向后方向的外画)。 > >  > > 这会导致信息丢失并导致质量较差,除非添加的噪声是完全随机的(强度=1的情况)。这个实现是其他人的许多想法的非常粗略的组合,还有很大的改进空间。这周我有点忙,但我会尝试改进并在周末做好更好的准备。 > > 一种似乎可以为其他强度值产生更好结果的快速解决方案是使用原始图像作为画布而不是黑色背景来执行转换。只需修改 .txt 文件中将转换后的图像粘贴到原始图像上的代码即可`_translate_image_and_mask`。 Hi, if I don’t have the original image and it is a complete outpainting task, what should...