svc-develop-team / so-vits-svc

SoftVC VITS Singing Voice Conversion
GNU Affero General Public License v3.0
25.26k stars 4.74k forks source link

[Bug]:ERROR: During reasoning, the final result cannot be output #327

Closed kioyue closed 1 year ago

kioyue commented 1 year ago

系统平台版本号

Google Colab

GPU 型号

Tesla A100/V100/T4

Python版本

3.10.12

PyTorch版本

2.0.1+cu118

sovits分支

4.0(默认)

数据集来源(用于判断数据集质量)

UVR processed recorded audio

出现问题的环节或执行的命令

key = "auto" if auto_predict_f0 else f"{trans}key" cluster_name = "" if cluster_inferratio == "0" else f"{cluster_infer_ratio}" isdiffusion = "sovits" wav_output = f"/content/so-vits-svc/results/{wavfilename}{key}_{speaker}{clustername}{isdiffusion}_{f0_predictor}.{wav_format}"

情况描述

During reasoning, the final result cannot be output

日志

/content/so-vits-svc
load 
2023-07-21 15:51:02.041622: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
load model(s) from pretrain/checkpoint_best_legacy_500.pt
#=====segment start, 13.9s======
jump empty segment
#=====segment start, 15.0s======
Traceback (most recent call last):
  File "/content/so-vits-svc/inference_main.py", line 155, in <module>
    main()
  File "/content/so-vits-svc/inference_main.py", line 140, in main
    audio = svc_model.slice_inference(**kwarg)
  File "/content/so-vits-svc/inference/infer_tool.py", line 461, in slice_inference
    out_audio, out_sr, out_frame = self.infer(spk, tran, raw_path,
  File "/content/so-vits-svc/inference/infer_tool.py", line 277, in infer
    raise RuntimeError("The name you entered is not in the speaker list!")
RuntimeError: The name you entered is not in the speaker list!
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-7-89e66376cf29> in <cell line: 61>()
     61 if download_after_inference:
     62   from google.colab import files
---> 63   files.download(wav_output)

/usr/local/lib/python3.10/dist-packages/google/colab/files.py in download(filename)
    223   if not _os.path.exists(filename):
    224     msg = 'Cannot find file: {}'.format(filename)
--> 225     raise FileNotFoundError(msg)  # pylint: disable=undefined-variable
    226 
    227   comm_manager = _IPython.get_ipython().kernel.comm_manager

FileNotFoundError: Cannot find file: /content/so-vits-svc/results/mi2.wav_0key_YourSpeaker_sovits_rmvpe.flac

补充说明

No response