Skip to content

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

@pILLOW-1

Description

@pILLOW-1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions