You could either check all setups of the convolutions and make sure the depth, height, and width match or force block1 to have the same shape as block2 via F.interpolate:
x = torch.randn([1, 16, 124, 124, 124])
x = F.interpolate(x, size=(119))