Deep-Live-Cam icon indicating copy to clipboard operation
Deep-Live-Cam copied to clipboard

onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from C:\Users\MyPC\Documents\Deep-Live-Cam-main\Deep-Live-Cam-main\models\inswapper_128_fp16.onnx failed:Protobuf parsing failed.

Open jazed69 opened this issue 8 months ago • 2 comments

Upon researching, the first error which is AssertionError: model_file C:\Users*****\Deep-Live-Cam\models\inswapper_128_fp16.onnx should exist, I must need to copy the files that were included to the models folder and so I did it. After I copied the inswapper_128_fp16.onx and GFPGANv1.4.pth to the models folder, i received this error

sess = C.InferenceSession(session_options, self._model_path, True, self._read_config_from_model) onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from C:\Users\MyPC\Documents\Deep-Live-Cam-main\Deep-Live-Cam-main\models\inswapper_128_fp16.onnx failed:Protobuf parsing failed.

jazed69 avatar Apr 18 '25 01:04 jazed69