dsgt-birdclef / birdclef-2022

Code for the BirdCLEF 2022 competition by the DS@GT team
2 stars 3 forks source link

Resolve IndexErrors with get_motif_pairs in DataLoader #32

Closed bran22 closed 2 years ago

bran22 commented 2 years ago

Resolves #28 by handling remainder data in utils.py/slice_seconds if the chosen timestep does not divide the data evenly.

Two options are provided:

bran22 commented 2 years ago

Updated to pad the entire audio file (not just the last section) and added additional option for "right-align" padding in accordance with this example: https://github.com/acmiyaguchi/birdclef-2022/pull/32#discussion_r876240864