w-okada / voice-changer

リアルタイムボイスチェンジャー Realtime Voice Changer
Other
16.59k stars 1.81k forks source link

[ISSUE]: json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) #1362

Open Mcudll929 opened 2 months ago

Mcudll929 commented 2 months ago

Voice Changer Version

v1.5.3

Operational System

Ubuntu 20.04

GPU

2080ti

Read carefully and check the options

Model Type

RVC

Issue Description

No response

Application Screenshot

No response

Logs on console

root@autodl-container-352c469ce5-ed3170f1:~/voice-changer/server# python3 MMVCServerSIO.py -p 6006 --https false --content_vec_500 pretrain/checkpoint_best_legacy_500.pt --hubert_base pretrain/hubert_base.pt --hubert_soft pretrain/hubert/hubert-soft-0d54a1f4.pt --nsf_hifigan pretrain/nsf_hifigan/model --hubert_base_jp pretrain/rinna_hubert_base_jp.pt --model_dir models Booting PHASE :main PYTHON:3.10.8 (main, Nov 24 2022, 14:13:03) [GCC 11.2.0] Activating the Voice Changer. [Voice Changer] download sample catalog. samples_0004_t.json
[Voice Changer] download sample catalog. samples_0004_o.json
[Voice Changer] download sample catalog. samples_0004_d.json
[Voice Changer] loading sample failed Expecting value: line 1 column 1 (char 0)
Internal_Port:6006
protocol: HTTP


Please open the following URL in your browser.                                                                                                                                    
http://<IP>:<PORT>/                                                                                                                                                               
In many cases, it will launch when you access any of the following URLs.
http://127.0.0.1:6006/
Booting PHASE :__mp_main__
The server process is starting up.
Booting PHASE :MMVCServerSIO

[Voice Changer] VoiceChangerManager initializing... Process SpawnProcess-1:1: Traceback (most recent call last): File "/root/miniconda3/lib/python3.10/multiprocessing/process.py", line 314, in _bootstrap self.run() File "/root/miniconda3/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/root/miniconda3/lib/python3.10/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started target(sockets=sockets) File "/root/miniconda3/lib/python3.10/site-packages/uvicorn/server.py", line 59, in run return asyncio.run(self.serve(sockets=sockets)) File "/root/miniconda3/lib/python3.10/asyncio/runners.py", line 44, in run return loop.run_until_complete(main) File "/root/miniconda3/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete return future.result() File "/root/miniconda3/lib/python3.10/site-packages/uvicorn/server.py", line 66, in serve config.load() File "/root/miniconda3/lib/python3.10/site-packages/uvicorn/config.py", line 471, in load self.loaded_app = import_from_string(self.app) File "/root/miniconda3/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string module = importlib.import_module(module_str) File "/root/miniconda3/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/root/voice-changer/server/MMVCServerSIO.py", line 136, in voiceChangerManager = VoiceChangerManager.get_instance(voiceChangerParams) File "/root/voice-changer/server/voice_changer/VoiceChangerManager.py", line 131, in get_instance cls._instance = cls(params) File "/root/voice-changer/server/voice_changer/VoiceChangerManager.py", line 96, in init self.update_settings("gpu", 0) File "/root/voice-changer/server/voice_changer/VoiceChangerManager.py", line 362, in update_settings return self.get_info() File "/root/voice-changer/server/voice_changer/VoiceChangerManager.py", line 221, in get_info data["sampleModels"] = getSampleInfos(self.params.sample_mode) File "/root/voice-changer/server/downloader/SampleDownloader.py", line 41, in getSampleInfos samples = _generateSampleList(sampleJsons) File "/root/voice-changer/server/downloader/SampleDownloader.py", line 66, in _generateSampleList jsonDict = json.load(f) File "/root/miniconda3/lib/python3.10/json/init.py", line 293, in load return loads(fp.read(), File "/root/miniconda3/lib/python3.10/json/init.py", line 346, in loads return _default_decoder.decode(s) File "/root/miniconda3/lib/python3.10/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/root/miniconda3/lib/python3.10/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)