Skip to content

CPP Python bindings accuracy tests #287

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

Open
wants to merge 41 commits into
base: master
Choose a base branch
from

Conversation

RHeckerIntel
Copy link
Contributor

Test PR to check accuracy test using the new bindings (That pr will come later)

sovrasov and others added 30 commits January 30, 2025 02:37
Example works, but probably some missing parts.
as opposed to ModelBase as it was.

So first it was ImageModel: ModelBase.
Then ModelBase merged into ImageModel
now rename ImageModel to BaseModel
OpenCV is using system opencv though...
It's ugly, but its just an example to show it works
Currently the rpath is set to a relative path to the site-packages of
python for openvino (../openvino/libs).
This is maybe not great.

OpenCV does not seem to be an issue
Seems one model is causing an issue, either via segmentation fault if
trying to catch error, or a nullptr tensor
@RHeckerIntel RHeckerIntel marked this pull request as ready for review April 14, 2025 11:04
@@ -0,0 +1,16 @@
#!/usr/bin/env python3
Copy link
Member

@sovrasov sovrasov Apr 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually need that sample? Can be moved to tests as well

@sovrasov sovrasov mentioned this pull request Apr 15, 2025
3 tasks
PYTHON_PATH $<TARGET_FILE_DIR:py_model_api>
DEPENDS py_model_api
set_target_properties(_vision_api PROPERTIES
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/src/vision_api"
Copy link
Member

@sovrasov sovrasov Apr 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Binaries are dumped to the source dir, which looks a bit weird. Can we use the build dir for that?

@sovrasov
Copy link
Member

I see the labeler is failing, can updating to the latest master help?

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

Successfully merging this pull request may close these issues.

2 participants