CCPD icon indicating copy to clipboard operation
CCPD copied to clipboard

Is the weighted error equation correct ?

Open pshroff04 opened this issue 6 years ago • 0 comments

loss += 0.8 * nn.L1Loss().cuda()(fps_pred[:][:2], y[:][:2]) loss += 0.2 * nn.L1Loss().cuda()(fps_pred[:][2:], y[:][2:])

With reference to above lines? I understand you are taking .8 times loss of first two examples ?? and .2 times loss of other examples in batch. Is it what you are trying to do ? Please clarify on this.

pshroff04 avatar Dec 29 '18 17:12 pshroff04