mortenjust/native-diffusion

Warn or fail when using an incompatible input image size

Open

#10 创建于 2022年11月25日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Swift (34 fork)github user discovery
help wanted

仓库指标

Star
 (499 star)
PR 合并指标
 (PR 指标待抓取)

描述

When you pass an input image to the generator, it currently doesn't check if the image fits the model (currently we only support SD1.5, so it's always 512x512)

This warning is for all users using img2img via an inputImage

The warning could be an assertion failure, but open to ideas.

Next: Resize off-size images, using a center crop. Feel free to go for this directly. Later: Support for SD2.0

贡献者指南