PointMVSNet
PointMVSNet copied to clipboard
MAELoss may be not averaged along batch dimension
Hi, thank you for your excellent work. I have a question about MAELoss.
https://github.com/callmeray/PointMVSNet/blob/cacb2d719bac4f8ed63f9cdd9d6e91b01c991077/pointmvsnet/networks.py#L170-L181
As above codes show, the Line 179 takes the sum of the average loss of each depthmap, so the resulting loss is not the average loss but the sum loss of each depthmap in one batch. I would like to ask if this would affect the training of the network, especially when the batch_size changes. Or this code is written for a purpose I don't know? Thank you!