1
0
Fork 0

fix(tests): add release test for partial blending

This commit is contained in:
Sean Sube 2023-03-08 23:06:52 -06:00
parent d794835d20
commit 312d8d251a
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
5 changed files with 23 additions and 2 deletions

BIN
api/scripts/test-refs/blend-512-muffin-black-0.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
api/scripts/test-refs/blend-512-muffin-blend-0.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
api/scripts/test-refs/blend-512-muffin-white-0.png (Stored with Git LFS) Normal file

Binary file not shown.

BIN
api/scripts/test-refs/mask-blend.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -162,7 +162,7 @@ TEST_DATA = [
), ),
TestCase( TestCase(
"blend-512-muffin-black", "blend-512-muffin-black",
"blend?prompt=a+giant+pumpkin&seed=0&scheduler=ddim&upscaling=upscaling-real-esrgan-x2-plus&scale=2&outscale=2", "blend?prompt=a+giant+pumpkin&seed=0&scheduler=ddim",
mask="mask-black", mask="mask-black",
source=[ source=[
"txt2img-sd-v1-5-512-muffin-0", "txt2img-sd-v1-5-512-muffin-0",
@ -171,13 +171,22 @@ TEST_DATA = [
), ),
TestCase( TestCase(
"blend-512-muffin-white", "blend-512-muffin-white",
"blend?prompt=a+giant+pumpkin&seed=0&scheduler=ddim&upscaling=upscaling-real-esrgan-x2-plus&scale=2&outscale=2", "blend?prompt=a+giant+pumpkin&seed=0&scheduler=ddim",
mask="mask-white", mask="mask-white",
source=[ source=[
"txt2img-sd-v2-1-512-muffin-0", "txt2img-sd-v2-1-512-muffin-0",
"txt2img-sd-v1-5-512-muffin-0", "txt2img-sd-v1-5-512-muffin-0",
], ],
), ),
TestCase(
"blend-512-muffin-blend",
"blend?prompt=a+giant+pumpkin&seed=0&scheduler=ddim",
mask="mask-blend",
source=[
"txt2img-sd-v2-1-512-muffin-0",
"txt2img-sd-v1-5-512-muffin-0",
],
),
] ]