whisper-vits-japanese icon indicating copy to clipboard operation
whisper-vits-japanese copied to clipboard

IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1)

Open ChitoseSana6 opened this issue 1 year ago • 1 comments

colab上torch版本1.12.1依旧报错 IndexError: Caught IndexError in DataLoader worker process 0. Original Traceback (most recent call last): File "/mnt/d/work/whisper-vits-japanese/env/lib/python3.9/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop data = fetcher.fetch(index) File "/mnt/d/work/whisper-vits-japanese/env/lib/python3.9/site-packages/torch/utils/data/_utils/fetch.py", line 54, in fetch return self.collate_fn(data) File "/mnt/d/work/whisper-vits-japanese/data_utils.py", line 121, in call print([x[1].size(1) for x in batch]) File "/mnt/d/work/whisper-vits-japanese/data_utils.py", line 121, in print([x[1].size(1) for x in batch]) IndexError: Dimension out of range (expected to be in range of [-1, 0], but got 1) 未对原代码做任何修改

ChitoseSana6 avatar May 14 '23 10:05 ChitoseSana6