RetroCirce / Zero_Shot_Audio_Source_Separation

The official code repo for "Zero-shot Audio Source Separation through Query-based Learning from Weakly-labeled Data", in AAAI 2022
https://arxiv.org/abs/2112.07891
MIT License
186 stars 31 forks source link

Doubt about increasing samples (Query) #7

Closed playdasegunda closed 2 years ago

playdasegunda commented 2 years ago

Would it be possible to increase the examples in the Query folder? I noticed that when I put more than 74 .wav files I get this error: "ZeroDivisionError: integer division or module by zero".

So I would like to know if it is possible to increase the samples, thanks again.

RetroCirce commented 2 years ago

Hi,

Yes, theoretically it support the "unlimited" query examples, the maximum number I used is 100. The error you met is probably not the load problem but the wavfile problem itself, maybe there is a segment/slice of the wavfile contain all zeros? You can find the error code line to see if there is further information.