You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, in gen_weight_file, the weight of each sample is sum(1/class_frequency), note for audioset, each sample has multiple classes, that's why sum is needed. The idea is to give rare class higher weight.
, the weight is used to sampling in dataloading, i.e., a sound clip with rare class is more likely to be seen by the model. The algorithm can be found in the paper.
Hi,
I'm missing what are you doing with all the weights in the csv file which gen_weight_File has created.
How do you use them afterward?
Thanks ;)
The text was updated successfully, but these errors were encountered: