pix2pixHD
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
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.