novelvqa
novelvqa copied to clipboard
Something wrong when computing loss
It goes wrong when computing loss in losses.py point_loss_ = self._point_loss(logits, pos.squeeze(1))
And I check the value of logits and pos
The shape of logits is (64,42), pos (64,1)
Is there anything wrong with these two matrix?
Is there anything wrong with these two matrix?
I have the same problem. Have you solved it?
I also met this problem. Do you have any solution? These two variables can't get the correct result of the CrossEntropyLoss.