Thank you very much. This error has been fixed now. But when I try running my code, it seems that there is some problem with CrossEntropy similar to what you solved previously: IndexError: Target 1 is out of bounds… I think defined the data types right, but it still does not work somehow.