-
Notifications
You must be signed in to change notification settings - Fork 171
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
Queries about failed call “u2net_human_seg.onnx” in c++ #22
Comments
There is Python code that can be run for "u2net_human_seg. Onnx"
There are problems in rewriting to C + +. My code is like this
The error echo is:
I tried to do some research, but I can't find the reason. I hope I can help with C + + calling. Thanks! |
Can you provide the related cpp files so that I can help debugging? |
OK,cpp code is simple
I think this is the same as this Python code
|
hello, Is your problem solved? |
For the human-segmentation u2net, I have create scripts to port u2net to ONNX (
u2net_human_seg-2onnx.py
) and perform inference using OpenCV DNN (u2net_huam_seg-onnx-opencv.py
). Get these scripts: https://github.com/fengyuentau/U-2-Net/tree/onnx_export.However, the model itself is too large (168MB) to put into our zoo. The size of models in this zoo should be lower than 100MB.
Originally posted by @fengyuentau in #13 (comment)
The text was updated successfully, but these errors were encountered: