Tencent / MimicMotion

High-Quality Human Motion Video Generation with Confidence-aware Pose Guidance
https://tencent.github.io/MimicMotion/
Other
1.93k stars 165 forks source link

onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf #6

Closed dengfenglai321 closed 4 months ago

dengfenglai321 commented 4 months ago

运行python inference.py --inference_config configs/test.yaml,报错

onnxruntime:1.16.3

File "/xxx/workpace/AIGC/MimicMotion/mimicmotion/dwpose/wholebody.py", line 15, in init self.session_det = ort.InferenceSession( File "/xxx/anaconda/envs/comfyui/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 419, in init self._create_inference_session(providers, provider_options, disabled_optimizers) File "/xxx/anaconda/envs/comfyui/lib/python3.10/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 452, in _create_inference_session 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 /xxx/workpace/AIGC/MimicMotion/models/DWPose/yolox_l.onnx failed:Protobuf parsing failed.