PyTorch Forums
ValueError: Expected input batch_size (324) to match target batch_size (4)
Mujeeb_Arshad
(Mujeeb Arshad)
September 5, 2018, 6:25am
3
Yes, the output of print(x.shape) is as follow:
torch.Size([4, 64, 9, 9])
The problem of DataParallel outputs
Dataparallel size does not match with target
show post in topic