Skip to content

Commit 2375130

Browse files
author
cookieranger
committed
fix sd pad_mod to 64
diffusers bug: huggingface/diffusers#505
1 parent d111b24 commit 2375130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lama_cleaner/model/sd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141

4242
class SD(InpaintModel):
43-
pad_mod = 32
43+
pad_mod = 64 # current diffusers only support 64 https://github.com/huggingface/diffusers/pull/505
4444
min_size = 512
4545

4646
def init_model(self, device: torch.device, **kwargs):

0 commit comments

Comments
 (0)