Address class imbalance easily with Pytorch
What can you do when your model is overfitting your data?
Published in
4 min readApr 29, 2020
Important note: If you make it to the end of this story, please consider following me on Medium for more. I would really appreciate your support.
This problem often occurs when we are dealing with an imbalanced dataset. If your dataset represents several classes, one…