thtran97 / Deep-Learning-for-Audio

Audio Classification & Sound Event Detection in Pytorch
5 stars 0 forks source link

How to deal with less data & imbalanced data ? #6

Open thtran97 opened 4 years ago

thtran97 commented 4 years ago

I have implemented f1_loss with specific weights (with the idea is to penalize more on the class which have the least samples), then comibine with binary_cross_entropy loss.

The features used for training is MFCCs (not log-scaled mel spectrogram)

The result was good predicted for major class (0.0 = silence & 2.0 = two people are discussing) but the result on the minor class was not so good.