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

Python Model API: support OVMS adapter in openpose wrapper #3394

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

Conversation

anzhella-pankratova
Copy link
Contributor

@anzhella-pankratova anzhella-pankratova commented Mar 23, 2022

  • Add "pooled_heatmaps" node to the model graph if the model_adapter is OpenvinoAdapter. In other cases, pooled_heatmaps are calculated using numpy

  • Add --adapter key to human_pose_estimation_demo.py with OVMSAdapter support

Importantly, this PR fix the incorrect package behavior: previously, in /models/__init__.py the OpenPose wrapper is imported with openvino, so the openvino runtime was required to install even for OVMS executor. Now, the openvino runtime is imported only if OpenvinoAdapter is chosen.

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.

1 participant