@Oli it is Torch version: 0.4.1  . Yes, you are right, when give it input it will stop at  x_up1 = self.up1(x6, x5) the error is about upsample
return torch._C._nn.upsample_nearest2d(input, _output_size(2)) ValueError: only one of size or scale_factor should be defined