64의 배수로 input size를 조정해주면 된다.
내가 많이 쓰는 input size는 640 .... , 1024, 1600... 등이 있다.
https://github.com/CompVis/stable-diffusion/issues/301
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 16 but got size 15 for tensor number 1 in the lis
(my code) samples = sampler.decode(z_enc, c, t_enc, unconditional_guidance_scale=opt.scale) stack trace w/o pytorch forward and grad calls File "/home/model-server/stable-diffusion/ldm/models/diffu...
github.com
'머신러닝 > Computer Vision' 카테고리의 다른 글
[Python/PIL] 텍스트에 취소선 넣기 (0) | 2023.05.04 |
---|---|
PIL Image Font 속성 (0) | 2023.04.27 |
[matplotlib] plt warning (More than 20 figures have been opened.) (0) | 2023.04.03 |
[matplotlib] hatches, pattern (0) | 2023.04.03 |
[Computer Vision] Data set(image) Normalize value 계산(mean, std) (0) | 2023.03.20 |
64의 배수로 input size를 조정해주면 된다.
내가 많이 쓰는 input size는 640 .... , 1024, 1600... 등이 있다.
https://github.com/CompVis/stable-diffusion/issues/301
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 16 but got size 15 for tensor number 1 in the lis
(my code) samples = sampler.decode(z_enc, c, t_enc, unconditional_guidance_scale=opt.scale) stack trace w/o pytorch forward and grad calls File "/home/model-server/stable-diffusion/ldm/models/diffu...
github.com
'머신러닝 > Computer Vision' 카테고리의 다른 글
[Python/PIL] 텍스트에 취소선 넣기 (0) | 2023.05.04 |
---|---|
PIL Image Font 속성 (0) | 2023.04.27 |
[matplotlib] plt warning (More than 20 figures have been opened.) (0) | 2023.04.03 |
[matplotlib] hatches, pattern (0) | 2023.04.03 |
[Computer Vision] Data set(image) Normalize value 계산(mean, std) (0) | 2023.03.20 |