mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-04-23 03:00:31 -04:00
fix(nodes): MLSD needs inputs to be multiples of 64
This commit is contained in:
committed by
Kent Keirsey
parent
7d15f9381d
commit
b6aba92426
@@ -48,8 +48,8 @@ class MLSDDetector:
|
||||
|
||||
height, width, _channels = np_img.shape
|
||||
|
||||
# This model requires the input image to have a resolution that is a multiple of 8
|
||||
np_img = resize_to_multiple(np_img, 8)
|
||||
# This model requires the input image to have a resolution that is a multiple of 64
|
||||
np_img = resize_to_multiple(np_img, 64)
|
||||
img_output = np.zeros_like(np_img)
|
||||
|
||||
with torch.no_grad():
|
||||
|
||||
Reference in New Issue
Block a user