sd add blur mask test
This commit is contained in:
parent
e1fb0030d1
commit
491e62fdf1
BIN
lama_cleaner/tests/overture-creations-5sI6fQgYIuo_mask_blur.png
Normal file
BIN
lama_cleaner/tests/overture-creations-5sI6fQgYIuo_mask_blur.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
@ -176,6 +176,14 @@ def test_sd(strategy, sampler, capfd):
|
||||
mask_p=current_dir / "overture-creations-5sI6fQgYIuo_mask.png",
|
||||
)
|
||||
|
||||
assert_equal(
|
||||
model,
|
||||
cfg,
|
||||
f"sd_{strategy.capitalize()}_{sampler}_blur_mask_result.png",
|
||||
img_p=current_dir / "overture-creations-5sI6fQgYIuo.png",
|
||||
mask_p=current_dir / "overture-creations-5sI6fQgYIuo_mask_blur.png",
|
||||
)
|
||||
|
||||
# captured = capfd.readouterr()
|
||||
# for i in range(sd_steps):
|
||||
# assert f'sd_step_{i}' in captured.out
|
||||
|
Loading…
Reference in New Issue
Block a user