RuntimeError: Expected object of scalar type Long but got scalar type Float when using CrossEntropyLoss

thanks for your response, I was wondering why there is boxes 1 and boxes 2, my input is about an image with a lot of labels in it and each label have 4 values for it box, so actually each label have one box only, so what does boxes 2 is for, if you have any idea in general??