DragGAN icon indicating copy to clipboard operation
DragGAN copied to clipboard

when i make 2 points and click “drag” btn, some error comes in termital: The size of tensor error

Open pea-jj opened this issue 2 years ago • 4 comments

RuntimeError: The size of tensor a (1024) must match the size of tensor b (300) at non-singleton dimension 3

pea-jj avatar May 26 '23 08:05 pea-jj

same

AndPuQing avatar May 26 '23 09:05 AndPuQing

which model do you use ? do you use custom image ?

Zeqiang-Lai avatar May 26 '23 09:05 Zeqiang-Lai

I believe the issue may have been caused by a failure to load the mask image, resulting in only a partial image being loaded. However, after restarting the server, the problem was resolved.

AndPuQing avatar May 26 '23 09:05 AndPuQing

first default model and default image

pea-jj avatar May 26 '23 09:05 pea-jj

I believe the issue may have been caused by a failure to load the mask image, resulting in only a partial image being loaded. However, after restarting the server, the problem was resolved.

Thank you. The default mask config has some issues. Refreshing it can resolve the problem.

pea-jj avatar May 29 '23 02:05 pea-jj