I’ve added a reply to the FAQ which gives a function for calculating the rescaling weight vector used by the CrossEntropyLoss function in PyTorch.
You can find that here:
I’ve added a reply to the FAQ which gives a function for calculating the rescaling weight vector used by the CrossEntropyLoss function in PyTorch.
You can find that here: