pix2pixHD icon indicating copy to clipboard operation
pix2pixHD copied to clipboard

RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 819 but got size 832 for tensor number 1 in the list

Open pILLOW-1 opened this issue 6 months ago • 0 comments

During training, i got the error "RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 819 but got size 832 for tensor number 1 in the list" at line 145 in pix2pixHD_model.py, which is "input_concat = torch.cat((input_label, test_image.detach()), dim=1)". I didn't modify any part of the code. I can't figure why.

pILLOW-1 avatar Aug 23 '24 08:08 pILLOW-1