neurostatslab / vocalocator

Deep neural networks for sound source localization and vocalization attribution.
MIT License
2 stars 0 forks source link

Remove erroneous error catching on label outside arena dims #46

Closed amanchoudhri closed 3 months ago

amanchoudhri commented 1 year ago

Currently in util.py, the function digitize throws an error if it encounters a value outside the arena dimensions. This behavior is fine on the speaker dataset, where everything is cleanly inside the arena, but on real gerbil data the gerbils often rear their heads up at the corners of the arenas, resulting in labels outside the arena dimensions.