mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
stop crashes on non-square images
This commit is contained in:
@ -265,6 +265,7 @@ class Sampler(object):
|
||||
)
|
||||
|
||||
if mask is not None:
|
||||
print('DEBUG: in masking routine')
|
||||
assert x0 is not None
|
||||
img_orig = self.model.q_sample(
|
||||
x0, ts
|
||||
|
Reference in New Issue
Block a user