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\LTC.ifnude/detector.onnx failed:Protobuf parsing failed.go...
self._create_inference_session(providers, provider_options, disabled_optimizers)File"/Users/mac/develop/tutorials/stable-diffusion-webui/venv/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 424, in _create_inference_sessionsess=C.InferenceSession(session_options...
2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower). 这里的提示已经给出了解决办法,1.可以把protobuf版本降到3.20.x及以下。这里只需要安装protobuf版本到指定的版本下,安装3.20.2版本,python -m pip install protobuf==3.20.2。目前很多...
onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from G:\Stable Diffusion\stable-diffusion-webui\models\roop\inswapper_128.onnx failed:Protobuf parsing failed.
1. Downgrade the protobuf package to 3.20.x or lower. 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates请按任意键继续. . ...
1. Downgrade the protobuf package to 3.20.x or lower. 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower). 这里的提示已经给出了解决办法,1.可以把protobuf版本降到3.20.x及以下。这里只需要安装protobuf版本到指定的版本下,安装3.20....
1. Downgrade the protobuf package to 3.20.x or lower. 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower). 这里的提示已经给出了解决办法,1.可以把protobuf版本降到3.20.x及以下。这里只需要安装protobuf版本到指定的版本下,安装3.20....
onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from C:\zero\stablediff\stable-diffusion-webui\models\roop\inswapper_128.onnx failed:Protobuf parsing failed. Total progress: 100%|██████████████████...
onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError] : 7 : INVALID_PROTOBUF : Load model from /Users/ricosun/.ifnude/detector.onnx failed:Protobuf parsing failed. Please help ! uubuge commented Aug 2, 2023 do it like this Sign up for free to join this...