Runs for a while and then fails with the error below. I've tried different formats, WAV, and now MP3, same results.
Resampling the audio from 48000 Hz to 16000 Hz
Traceback (most recent call last):
File "", line 1, in
File "/home/developer/PROJECTS/speechbrain/speechbrain/inference/separation.py", line 124, in separate_file
est_sources = self.separate_batch(batch)
File "/home/developer/PROJECTS/speechbrain/speechbrain/inference/separation.py", line 62, in separate_batch
est_mask = self.mods.masknet(mix_w)
File "/home/developer/mambaforge/envs/SpeechBrain/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/developer/mambaforge/envs/SpeechBrain/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "/home/developer/PROJECTS/speechbrain/speechbrain/lobes/models/dual_path.py", line 1067, in forward
x = self.dual_mdli
File "/home/developer/mambaforge/envs/SpeechBrain/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/developer/mambaforge/envs/SpeechBrain/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "/home/developer/PROJECTS/speechbrain/speechbrain/lobes/models/dual_path.py", line 918, in forward
inter = self.inter_mdl(inter)
File "/home/developer/mambaforge/envs/SpeechBrain/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1553, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "/home/developer/mambaforge/envs/SpeechBrain/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1562, in _call_impl
return forward_call(*args, **kwargs)
File "/home/developer/PROJECTS/speechbrain/speechbrain/lobes/models/dual_path.py", line 638, in forward
return self.mdl(x + pos_enc)[0]
RuntimeError: The size of tensor a (10594) must match the size of tensor b (2500) at non-singleton dimension 1