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

Open Silhouteee opened this issue 1 year ago • 2 comments

Done everything i think could be the solution but no head way yet. SOMEBODY PLEASE EXPLAIN WITHOUT THE AMBIGUITY TERMS. THANKS.

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\tHE\Deep-Live-Cam\models\inswapper_128_fp16.onnx failed:Protobuf parsing failed.

Silhouteee avatar Aug 22 '24 22:08 Silhouteee

I think this is what I ran into when my model files were corrupt. Try it with a freshly downloaded version.

coach1988 avatar Aug 23 '24 20:08 coach1988

Fix it. Thanks.

Silhouteee avatar Aug 23 '24 21:08 Silhouteee