when I use these inputs and one_hot_labels in my code, in the calculating loss part, shows me this error:
RuntimeError: Expected object of scalar type Long but got scalar type Float for argument #2 ‘target’
this is because of float in one_hot_labels? how can I solve it?