UCSD-E4E / acoustic-multiclass-training

Data processing and training pipeline for classifying bird species by sound
GNU General Public License v3.0
9 stars 4 forks source link

Validation mixup #131

Closed mbazzani closed 1 year ago

mbazzani commented 1 year ago
mbazzani commented 1 year ago

The type issues aint in my code

mbazzani commented 1 year ago

TODO: Decide whether to do fancier clip mixing ratios

benjamin-cates commented 1 year ago

image This function isn't working for me

benjamin-cates commented 1 year ago

Your definition of sample does not work if two elements have the same probability. Also hyperbolic has the same problem if there are duplicate integers. Perhaps it would be much better to have Dict[int,float] instead of Dict[float,int]. Although you would have to manage adding duplicate keys instead of overwriting. Might have to be List[Tuple[float,int]] image