Open nirajvermafcb opened 5 years ago
Were you able solve it? I'm facing the same issue
me too
Were you able solve this issue? @nirajvermafcb
use focal loss,Maybe improve it
Here is my implementation of Multi-class Focal loss on Mask RCNN for Imbalance Dataset.
I am able to train the model successfully but my problem is my dataset is quite unbalanced and has 30+ classes out of which 1 class is quite dominating and some classes are quite rare.I want to know whether unbalanced dataset will affect model accuracy and predictions.If yes except undersampling or upsampling is there any techniques I can do. Is there a way to change loss function which will penalise classes as per their distribution