monologg/JointBERT

Target out of bounds

Closed this issue · 0 comments

I have the number of intents as 3. And now I am getting the error:

ret = torch._C._nn.nll_loss(input, target, weight, _Reduction.get_enum(reduction), ignore_index)
IndexError: Target 12 is out of bounds.

any help is appreciated