[BUG] inference load path
didadida-r opened this issue · comments
Feel free to ask any kind of questions in the issues page, but please use English since other users may find your questions valuable.
Describe the bug
A clear and concise description of what the bug is.
path load will fail in vqgan infer, convert Path to str
audio, sr = torchaudio.load(input_path) -> audio, sr = torchaudio.load(str(input_path))
fish-speech/tools/vqgan/inference.py
Line 72 in 0df704b
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots / log
If applicable, add screenshots / logs to help explain your problem.
Additional context
Add any other context about the problem here.
Fixed. BTW, What's the version of torchaudio you are using?
the version is
torch 2.2.0
torchaudio 2.2.0