mortenjust/native-diffusion

Warn or fail when using an incompatible input image size

Open

#10 geöffnet am 25. Nov. 2022

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Swift (34 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (499 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide