Skip to content
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

Help running inference using yolov5, 6 & 8 #107

Open
dvirla opened this issue Jan 8, 2024 · 4 comments
Open

Help running inference using yolov5, 6 & 8 #107

dvirla opened this issue Jan 8, 2024 · 4 comments

Comments

@dvirla
Copy link

dvirla commented Jan 8, 2024

Hi,

Thanks for this amazing package!
I'm having troubles running inference using different yolo versions, whenever I'm running tiny_yolov2 test the inference seems to succeed.
Whenever I try any of the other version it fails with segmentation fault - exported to onnx, tried different opsets (including 12) and increase MAX_NUMBER_OF_NODES since yolov8 has 259 nodes.

More observations:
Running resolve function from inferece.c outputs segmentation fault. When I copy the content of resolve function to connx.c it seems to be running (after commenting the part preparing the operators since the opset is already 12).

Doing the same with inference function did not work as it seems that all_context[nodeIdx].executer is NULL.

Can anyone assist please?

@alrevuelta
Copy link
Owner

Most likely the models that you are using use operators that are not implemented. Note that this project is not currently actively maintained.

@dvirla
Copy link
Author

dvirla commented Jan 9, 2024

Thank you for the quick response!
Is there a way to review which operators are not implemented and implement them myself?

@alrevuelta
Copy link
Owner

Would suggest adding some prints. Or well, you can also explore the onnx model and search in this repo wether its implemented or not.

@ardeal
Copy link

ardeal commented Feb 26, 2024

Most likely the models that you are using use operators that are not implemented. Note that this project is not currently actively maintained.

@alrevuelta
as you said, this project is not currently actively maintained. is there any maintained/better/replaceable and similar(pure C/onnx/embedded inference) project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants