WeiDi
Results
comments of
WeiDi
I think you're right and it should be "axis: 1". **But** if I change it to 1, the program will make an error So the original code is correct.
This problem may be caused by the version of pytorch **here is the solution** **1.add code before 'loss_c[pos] = 0' at multibox_loss.py** loss_c = loss_c.view(pos.size()[0], pos.size()[1]) loss_c[pos] = 0 #...