There is an error at
concat4 = torch.cat((out_conv4,out_deconv4,flow5_up),1)
RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 15 but got size 16 for tensor number 1 in the list.
The conv and deconv cause dimension unmatch. The out_deconv4 and flow5_up should be checked and cropped to the same size as out_conv4.
There is an error at concat4 = torch.cat((out_conv4,out_deconv4,flow5_up),1) RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 15 but got size 16 for tensor number 1 in the list.
The conv and deconv cause dimension unmatch. The out_deconv4 and flow5_up should be checked and cropped to the same size as out_conv4.