kitzeslab / opensoundscape

Open source, scalable software for the analysis of bioacoustic recordings
http://opensoundscape.org
MIT License
136 stars 15 forks source link

check for labels outside range [0,1] #1001

Closed sammlapp closed 4 months ago

sammlapp commented 4 months ago

resolves check for values other than 0/1 in labels #891

now asserts that label values are >=0 and <=1 during CNN.train() and CNN.eval(). Adds tests for both. Also adds a missing test for input validation check of wrong class list during CNN.train()