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
RumtimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
#30
Open
markredito opened this issue
Oct 25, 2023
· 1 comment
(deepafx-st) E:\CODE\DeepAFx-ST>python scripts/process.py -i "E:\CODE\DeepAFx-ST\audio files\raw\160 JAZZ DNB2_MdcL3.wav" -r "E:\CODE\DeepAFx-ST\audio files\target\05 NOT TiGHT.wav" -c "E:\CODE\DeepAFx-ST\checkpoints\style\jamendo\autodiff\lightning_logs\version_0\checkpoints\epoch=362-step=1210241-val-jamendo-autodiff.ckpt"
I encounter a runtime error:
Resampling to 24000 Hz...
Traceback (most recent call last):
File "scripts/process.py", line 89, in <module>
x_24000 = torch.tensor(resampy.resample(x.view(-1).numpy(), x_sr, 24000))
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
Any ideas how I can resolve this?
System specs:
Windows 10
Anaconda Python
cmd.exe
The text was updated successfully, but these errors were encountered:
Hello!
When I run the script:
I encounter a runtime error:
Any ideas how I can resolve this?
System specs:
Windows 10
Anaconda Python
cmd.exe
The text was updated successfully, but these errors were encountered: