You have to transpose labels and logits. Please check this.
PS: Sharing your code is not allowed. Next time, only share your full error.
You have to transpose labels and logits. Please check this.
PS: Sharing your code is not allowed. Next time, only share your full error.