Open GMCMeowstic opened 11 months ago
RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory
reinstall w-okada voice changer and it should fix your issue. so delete the current folder, and extract again from the zip (assuming you installed pre-built binaries) and start_http.bat and it will download the necessary files automatically.
did not work reinstalled a total of 10 times im not joking and it is still not working
Voice Changer Version
MMVCServerSIO_win_onnxdirectML-cuda_v.1.5.3.15
Operational System
Windows 11
GPU
Intel Iris Xe
Read carefully and check the options
Model Type
RVC
Issue Description
It looks like that the program isn't picking up any audio from my microphone, tried everything including using virtual cable for input still nothing, also reinstalled it and problem wasn't solved.
Application Screenshot
Logs on console
[Voice Changer] update configuration: modelSlotIndex 1701955962000 EP Error D:\a_work\2\s\onnxruntime\core\providers\dml\dml_provider_factory.cc(132)\onnxruntime_pybind11_state.pyd!00007FFF156E2FFB: (caller: 00007FFF156E2D81) Exception(1) tid(3ebc) C0262002 Specified display adapter handle is invalid. when using ['DmlExecutionProvider'] Falling back to ['CPUExecutionProvider'] and retrying. [Voice Changer] generate new embedder. (no embedder) [Voice Changer] use torch contentvec [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from pretrain/content_vec_500.onnx failed:Protobuf parsing failed. [Voice Changer] exception! loading embedder PytorchStreamReader failed reading zip archive: failed finding central directory cpu Traceback (most recent call last): File "voice_changer\RVC\embedder\EmbedderManager.py", line 47, in loadEmbedder File "voice_changer\RVC\embedder\OnnxContentvec.py", line 17, in loadModel File "onnxruntime\capi\onnxruntime_inference_collection.py", line 383, in init File "onnxruntime\capi\onnxruntime_inference_collection.py", line 424, in _create_inference_session onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from pretrain/content_vec_500.onnx failed:Protobuf parsing failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "voice_changer\RVC\pipeline\PipelineGenerator.py", line 30, in createPipeline File "voice_changer\RVC\embedder\EmbedderManager.py", line 26, in getEmbedder File "voice_changer\RVC\embedder\EmbedderManager.py", line 51, in loadEmbedder File "voice_changer\RVC\embedder\FairseqHubert.py", line 11, in loadModel File "fairseq\checkpoint_utils.py", line 425, in load_model_ensemble_and_task state = load_checkpoint_to_cpu(filename, arg_overrides) File "fairseq\checkpoint_utils.py", line 315, in load_checkpoint_to_cpu state = torch.load(f, map_location=torch.device("cpu")) File "torch\serialization.py", line 797, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "torch\serialization.py", line 283, in init super().init(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory