Changes to detection module
Changes
-
Renamed
average_and_group
togroup
; 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
step
no longer required byprocess_audio_loader
. The step size is automatically inferred from difference between consecutive spectrogram offsets. -
Added optional progress bar
-
group_detections
accepts batches composed of spectrograms from multiple files