E:\Salient Object Detection\2020ECCV\CoNet-master\CoNet\trainer.py:79: UserWarning: Using a target size (torch.Size([2, 256, 256])) that is different to the input size (torch.Size([2, 1, 256, 256])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size.
loss4 = F.smooth_l1_loss(high_depth, depth, reduction='sum')
E:\Salient Object Detection\2020ECCV\CoNet-master\CoNet\trainer.py:81: UserWarning: Using a target size (torch.Size([2, 256, 256])) that is different to the input size (torch.Size([2, 1, 256, 256])). This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size.
loss6 = F.smooth_l1_loss(pred_depth, depth, reduction='sum')
How to solve the problem during training. Thank you very much for your reply