-
Notifications
You must be signed in to change notification settings - Fork 18
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
base: master
Are you sure you want to change the base?
CPP Python bindings accuracy tests #287
Conversation
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
…commits" This reverts commit 3fb1326.
This reverts commit ffc65ea.
Windows will come
Seems one model is causing an issue, either via segmentation fault if trying to catch error, or a nullptr tensor
Apparently scikit uses .gitignore to ignore what to add to the package
@@ -0,0 +1,16 @@ | |||
#!/usr/bin/env python3 |
There was a problem hiding this comment.
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
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" |
There was a problem hiding this comment.
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?
I see the labeler is failing, can updating to the latest master help? |
Test PR to check accuracy test using the new bindings (That pr will come later)