PyTorch Forums
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 3 and 2 in dimension 1
InnovArul
(Arul)
August 26, 2018, 2:54pm
14
I see. You can use a custom collate function to get around this. Similar to:
show post in topic