-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid protobuf #53
Comments
我也遇到了相同的问题,我用的是python 3.8.10,按照文档安装了依赖,运行main.py的时候报错了,是我的环境有问题么? |
Please check the model file with md5sum md5sum face_detector.onnx The output should be 9d44dbc74e862957c4cf3b81294b9c94 face_detector.onnx If the digest value differs from above, the model file was corrupted. Try clone again, or download directly from github. |
Thank you for your help. You mean download the pretrained model from SCRFD and convert it to onnx file and replace it with the corrupted one. |
Thank you for your response. I have verified that the MD5 hash value is correct. Based on sametucuncu's suggestion, I am considering using the pretrained model from SCRFD and converting it to an ONNX file |
Could you please let me know if you could convert the model to onnx file? |
I am having this same issue, Windows with Python 3.11 environment. However, I still receive:
as the traceback, but the 2nd run my console printed:
Is cuda required to run this? EDIT: |
Could you tell me where I can download the face_detector.onnx and face_loadmarks.onnx? I use command "git lfs clone",but it doesn't make it. |
The onnx files are tracked by git lfs. Please fetch them with git lfs after cloning the repository git lfs pull If you see error message like this
Unfortunately this is due to Github data usage quota, which provides 1 GB per month/repo. And yes, I'm also blocked by this quota limitation. It seems we all have to wait for the next month's quota reset, then I can upload the onnx files to the release page that is free from the usage quota. I'm sorry for this inconvenience. |
Dear @yinguobing, Thank you for your work. Currently, both the detection and the landmark onnx files seem to be corrupted. Is it possible to upload the onnx file for the facial landmark model in a drive this month? Thank you. |
I'm afraid that's not possible. There is no local backup of this repo since I used to believe GitHub is a safer place. Currently we all have to wait. |
Dear @yinguobing, Thank you for the response. I am looking forward to the availability of the facial landmark model soon. |
Models are available in release page: |
Hello! I am getting this error. It would be appreciated if you could help with the problem.
onnxruntime.capi.onnxruntime_pybind11_state.InvalidProtobuf: [ONNXRuntimeError]: 7: INVALID_PROTOBUF: Load model from assets/face_detector.onnx failed:Protobuf parsing failed.
The text was updated successfully, but these errors were encountered: