fix sd pad_mod to 64
diffusers bug: https://github.com/huggingface/diffusers/pull/505
This commit is contained in:
parent
03315261e2
commit
36b078123c
@ -40,7 +40,7 @@ from lama_cleaner.schema import Config, SDSampler
|
||||
|
||||
|
||||
class SD(InpaintModel):
|
||||
pad_mod = 32
|
||||
pad_mod = 64 # current diffusers only support 64 https://github.com/huggingface/diffusers/pull/505
|
||||
min_size = 512
|
||||
|
||||
def init_model(self, device: torch.device, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user