-
Notifications
You must be signed in to change notification settings - Fork 236
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
Enable OpenVINO option for GPD #47
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This patch added the OpenVINO models for grasp detection. The OpenVINO models are converted from the original Caffe models by OpenVINO Model Optimizer (MO), following the process here: https://software.intel.com/en-us/articles/OpenVINO-InferEngine#inpage-nav-8-1-2 Signed-off-by: Sharron LIU <sharron.liu@intel.com>
This patch added CMake configures for openvino: + build option "USE_OPENVINO" added to enable openvion + message added to remind where to install openvino toolkit + configure "MODELS_DIR" added to specify the location of openvino models + split "caffe dependency" and "openvino dependency", so that each dependency can be added per build option + build flag "c++11" added, which is required by ROS and OpenVINO Signed-off-by: Sharron LIU <sharron.liu@intel.com>
sharronliu
force-pushed
the
master
branch
4 times, most recently
from
September 4, 2018 06:07
5101407
to
8d161c1
Compare
This patch added "device" option and removed "use_gpu" option. The option "device" extends the target devices beyond gpu, as mentioned in its documents: [0: CPU]|1:GPU|2:VPU|3:FPGA Signed-off-by: Sharron LIU <sharron.liu@intel.com>
This patch updated the "GraspDetector" to use the base Classifier. The base Classifier was created as a shared pointer, which will be released by system. Thus no need to explitly release "classifier_" in the destructor "~GraspDetector()". The base Classifer will create the right classifier (Caffe or OpenVINO) based on build option. The Caffe Classifer is modified to be derived from the base Classifer. Signed-off-by: Sharron LIU <sharron.liu@intel.com>
This patch tells the steps to enable openvino: + guides to install OpenVINO + guides to verify OpenVINO installation + build GPD with OpenVINO + launch GPD with target device Signed-off-by: Sharron LIU <sharron.liu@intel.com>
This patch contains headers and sources for grasp detection with OpenVINO. An OpenVINO Classifier is added to manage the detection with OpenVINO InferenceEngine (IE), following the process defined here: https://software.intel.com/en-us/articles/OpenVINO-InferEngine#inpage-nav-8-1-2 An commone Classifier is added, as an abstract base class, to create the specific classifier (Caffe Classifier, or OpenVINO Classifier) per build option "USE_OPENVINO". Signed-off-by: Sharron LIU <sharron.liu@intel.com>
Awesome! Thank you for contributing! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've spent some efforts to enable this algorithm with OpenVINO technology as an option. https://software.intel.com/en-us/openvino-toolkit
By default, "USE_OPENVINO=OFF" and "device=0 (CPU)".
I tested my patches with 15 channels, single view.