Skip to content

Conversation

@Chen-MingChang
Copy link
Contributor

@Chen-MingChang Chen-MingChang commented Aug 25, 2020

Many customers have requirements for the python version of human pose estimation demonstration, the demo can provide them for easy deployment.
Based on "human_pose_estimation_3d_demo.py" to modify it to 2d human pose estimation, it can be executed using "human-pose-estimation-0001", which is a bottom-up model not suitable to "single_human_pose_estimation_demo".

@openvino-pushbot
Copy link
Contributor

Can one of the admins verify this patch?

4 similar comments
@openvino-pushbot
Copy link
Contributor

Can one of the admins verify this patch?

@openvino-pushbot
Copy link
Contributor

Can one of the admins verify this patch?

@openvino-pushbot
Copy link
Contributor

Can one of the admins verify this patch?

@openvino-pushbot
Copy link
Contributor

Can one of the admins verify this patch?

Copy link
Contributor

@eizamaliev eizamaliev left a comment

Choose a reason for hiding this comment

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

Add README.md

@eizamaliev eizamaliev requested a review from Wovchena August 25, 2020 08:48
@Chen-MingChang
Copy link
Contributor Author

Add README.md

Done

@Daniil-Osokin
Copy link
Contributor

@playboy007gy Will this demo work?

@Chen-MingChang
Copy link
Contributor Author

Chen-MingChang commented Oct 12, 2020

@playboy007gy Will this demo work?

I can get human-pose-estimation.xml through the instructions of this link.

It can work by easily modifying the output layer names from 'modules/inference_engine.py'

Need to replace 'Mconv7_stage2_L1' to 'Conv_149', and 'Mconv7_stage2_L2' to 'Conv_146''.

@Daniil-Osokin
Copy link
Contributor

So it is possibly better to extend (or just use for the demo purposes) that code rather copy-paste one from 3D pipeline if you need pure Python demo.

@Chen-MingChang
Copy link
Contributor Author

So it is possibly better to extend (or just use for the demo purposes) that code rather copy-paste one from 3D pipeline if you need pure Python demo.

Sorry for not sure what you are referring to...
I guess you mean to extend the demo, let it recognize the name of the output node without setting it. Right?
If so, I can try to modify the demo.

@Daniil-Osokin
Copy link
Contributor

I mean that there is a pure Python demo already. Why just not to use it? Demo in Python will be quite slow anyway, due to results post-processing. And there is fast demo, which already in C++.

@Chen-MingChang
Copy link
Contributor Author

I mean that there is a pure Python demo already. Why just not to use it? Demo in Python will be quite slow anyway, due to results post-processing. And there is fast demo, which already in C++.

I mean that there is a pure Python demo already. Why just not to use it? Demo in Python will be quite slow anyway, due to results post-processing. And there is fast demo, which already in C++.

Oh, maybe I didn't express it well
The python demo in the link is for pytorch model, not for IR.
The purpose of this pull is that openVINO currently lacks a python demo for bottom-up model to estimate 2D human poses.
Although C++ is faster than python in terms of execution speed, many customers still ask python demo for easier deployment.
For this reason, I had made this demo and wanted to provide it to people who have the same needs.

@Daniil-Osokin
Copy link
Contributor

@playboy007gy Hi! Recently guys added Python demo for EfficientHRNet human pose estimation (bottom-up) and also generalized it to support the human-pose-estimation-001 model. Looks like it resolves this.

@vladimir-dudnik
Copy link
Contributor

@Chen-MingChang I'll close this PR as desired functionality has been implemented in different PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community contribution community (not Intel) contribution to Open Model Zoo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants