Changes to detection module
Changes
-
Renamed
average_and_grouptogroup; averaging is disabled/enabled based on the value ofwin_len: disabled ifwin_len=1, enabled ifwin_len>1 -
Added method
process(audio_loader, model, ...)that delegates toprocess_audio_loader(nice to have shorter method names) -
Changed default settings to
buffer=0(no buffer),win_len=1(no averaging) andgroup=False(no grouping). -
Argument
stepno longer required byprocess_audio_loader. The step size is automatically inferred from difference between consecutive spectrogram offsets. -
Added optional progress bar
-
group_detectionsaccepts batches composed of spectrograms from multiple files