bshall / hubert

HuBERT content encoders for: A Comparison of Discrete and Soft Speech Units for Improved Voice Conversion
https://bshall.github.io/soft-vc/
MIT License
330 stars 53 forks source link

"integer division or modulo by zero" error in 158 line train.py #15

Closed Lukysoon closed 7 months ago

Lukysoon commented 7 months ago

-- Process 0 terminated with the following error: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/torch/multiprocessing/spawn.py", line 74, in _wrap fn(i, *args) File "/workspace/hubert/train.py", line 158, in train n_epochs = STEPS // len(train_loader) + 1 ZeroDivisionError: integer division or modulo by zero

I'm running on runpod with pod "RunPod Pytorch 2.1"

What could be a problem?

Lukysoon commented 7 months ago

I see I did not have dev- and train- folders in my wav directory. So it didn't fit the pattern.