svc infer on linux using cpu: No format specified and unable to get format from file extension: 'dataset' #937
Unanswered
mohammadalmalt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello community,
I am now trying to change voice using this command:
so-vits-svc-fork infer e.mp3 -m "sinatraRVC_G_51600.pth" -c "configs/44k/config.json" -s "sinatra" -o "dataset" -t 0 -d cpu
here is the output of it:
INFO [12:11:30] Loaded checkpoint 'sinatraRVC_G_51600.pth' (epoch 240) utils.py:283
INFO [12:11:30] Chunk: Chunk(Speech: True, 440320.0) core.py:283
WARNING [12:11:30] Speaker None is not found. Use speaker 0 instead. core.py:206
INFO [12:11:30] F0 inference time: 0.140s, RTF: 0.013 f0.py:214
[12:11:31] INFO [12:11:31] HuBERT inference time : 0.379s, RTF: 0.034 utils.py:210
[12:11:33] INFO [12:11:33] Inference time: 2.27s, RTF: 0.21 core.py:237
Traceback (most recent call last):
File "/usr/local/bin/svc", line 8, in
sys.exit(cli())
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.10/dist-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/so_vits_svc_fork/main.py", line 277, in infer
infer(
File "/usr/local/lib/python3.10/dist-packages/so_vits_svc_fork/inference/main.py", line 109, in infer
soundfile.write(str(output_path), audio, svc_model.target_sample)
File "/usr/local/lib/python3.10/dist-packages/soundfile.py", line 343, in write
with SoundFile(file, 'w', samplerate, channels,
File "/usr/local/lib/python3.10/dist-packages/soundfile.py", line 656, in init
self._info = _create_info_struct(file, mode, samplerate, channels,
File "/usr/local/lib/python3.10/dist-packages/soundfile.py", line 1466, in _create_info_struct
format = _get_format_from_filename(file, mode)
File "/usr/local/lib/python3.10/dist-packages/soundfile.py", line 1507, in _get_format_from_filename
raise TypeError("No format specified and unable to get format from "
TypeError: No format specified and unable to get format from file extension: 'dataset'
Am I doing something wrong, how can I test it successfully?
Best regards
Mohammad Almalt
Beta Was this translation helpful? Give feedback.
All reactions