PyTorch Forums
RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[1, 8, 600, 800] to have 3 channels, but got 8 channels instead
vision
fadetoblack
(Vikas D)
October 16, 2020, 6:11am
7
# x is your image with shape [8,1,600,800] x2 = torch.cat((x,x,x),1)
1 Like
RuntimeError: Expected 4-dimensional input for 4-dimensional weight [64, 3, 7, 7], but got 3-dimensional input of size [8, 600, 800] instead
show post in topic