You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running python -m torchcrepe --audio_files=..., I encountered the error:
File "~/miniconda3/lib/python3.11/site-packages/torchcrepe/core.py", line 733, in resample
audio = audio.detach().cpu().numpy().squeeze(0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot select an axis to squeeze out which has size not equal to one
Investigating the error, audio has shape torch.Size([2, 10674560]). Raising an exception when the input audio track is stereo (or downmix to mono) could be useful to other users of the project.
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for converting crepe to PyTorch!
When running python -m torchcrepe --audio_files=..., I encountered the error:
Investigating the error,
audio
has shapetorch.Size([2, 10674560])
. Raising an exception when the input audio track is stereo (or downmix to mono) could be useful to other users of the project.Thanks!
The text was updated successfully, but these errors were encountered: