VolumetricCapture icon indicating copy to clipboard operation
VolumetricCapture copied to clipboard

Onnxruntime Error: Protobuf parsing failed

Open dbrice01 opened this issue 4 years ago • 7 comments

When selecting "Process" in the calibration stage in a setup with 4x Kinect cameras and default settings I receive the following error:

D:\32\s\onnxruntime\core\session\inference_session.cc:220 onnxrunime::Inference_Session::Inference_Session statis.IsOK() was false. Given model could not be parsed while creating inference session. Error message: Protobuf parsing failed

Any ideas?

Thanks.

dbrice01 avatar Jun 14 '22 10:06 dbrice01

VolCap Screenshot VolcCap Calibration Error

dbrice01 avatar Jun 14 '22 12:06 dbrice01

It may be related to protobuf breaking backwards compatbility. Try downgrading with pip install protobuf==3.20.1

zuru avatar Jun 14 '22 20:06 zuru

Thank you for your quick reply and suggestion.

image

It seems that the 3.20.1 distribution is missing from pip. Would you recommend I try to install 3.20.1 with an alternative method, or should I try and use one of the available distributions?

Also, pip version is 21.3.1

Thanks

dbrice01 avatar Jun 15 '22 11:06 dbrice01

Since my last post: I've verified that protobuf version 3.20.1 is installed (after switching from python 3.6 -> 3.7), however the error, "protobuf parsing failed" remains.

Thanks

dbrice01 avatar Jun 15 '22 13:06 dbrice01

Has anyone got any ideas on troubleshooting this? All of the required packages seem to be in place during the StructureNet install. Thanks

dbrice01 avatar Jul 04 '22 12:07 dbrice01

Not sure whats up but can you try download the model from gdrive (see installation.txt) and then running these:

image

On my side it seems to be ok with;

onnx                         1.8.1
onnxruntime                  1.6.0
protobuf                     3.19.1

zokin avatar Jul 04 '22 12:07 zokin

Issue was resolved through resetting the Host PC environment with the package versions provided in the comments above. Thank you.

dbrice01 avatar Aug 25 '22 10:08 dbrice01