Closed bran22 closed 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
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:
Example: [0, 1, 1, 0, 0]
Example: [1, 1, 0, 0, 0]