Solved by MrPositron in post #4 
              
              
                You can use cross entropy loss from here: neural network - Pytorch doing a cross entropy loss when the predictions already have probabilities - Data Science Stack Exchange