Community
cancel
Showing results for 
Search instead for 
Did you mean: 
VladT
Beginner
115 Views

human_pose_estimation on DevCloud

hi. I try to setup and run human_pose_estimation_demo on different instances to get the FPS on different hardware. when I try to run human_pose_estimation_demo.py file it have several iports which is not possible to install on IntelDevCloud for Edge

#!pip install monitors - installed
#!pip install images_capture - not possible to install.It probably file or lib
#!pip install pipelines - installed but not possible import AsyncPipeline

#!pip install performance_metrics # - not possible to install.

without that modules human_pose_estimation_demo.py not working. 

Could you please navigate me how to install or get that lib in to my intelDevCloud for Edge all the libs and dependency for that project.

0 Kudos
4 Replies
Sahira_Intel
Moderator
81 Views

Hi VladT,


I apologize for the delay in my response! I am looking into this and will provide an answer shorty.


Sincerely,

Sahira


JesusE_Intel
Moderator
60 Views

Hi VladT,

 

Instead of installing the modules, copy the common directory to your working directory. You can add the following line to your Jupyter Notebook.

 

!mkdir common

!cp -r /opt/intel/openvino_2021/inference_engine/demos/common/python/* common/

 

Assuming you are copying the human_pose_estimation_demo.py to DevCloud, modify line #28 to match the parent directory level.

 

sys.path.append(str(Path(__file__).resolve().parents[0] / 'common'))

 

The above steps should fix your import issues. Please note that additional changes may be required to get the demo working on DevCloud. I recommend following the Migrate from Edge Device tutorial under Advanced tutorials on DevCloud for guidance.

 

Regards,

Jesus

 

 

VladT
Beginner
35 Views

hi Jesus.

Thanks a lot for that tip.

I try to do what you advise. Now I have the error on the next step.

File "human_pose_estimation_demo.py", line 32, in <module>
import models
File "/home/u71397/common/models/__init__.py", line 23, in <module>
from .open_pose import OpenPose
File "/home/u71397/common/models/open_pose.py", line 18, in <module>
import ngraph as ng
ModuleNotFoundError: No module named 'ngraph'

And again I can not install module - ngraph.

Defaulting to user installation because normal site-packages is not writeable
ERROR: Could not find a version that satisfies the requirement ngraph
ERROR: No matching distribution found for ngraph

Is it possible to solve that issue? 

JesusE_Intel
Moderator
29 Views

Hi VladT,

 

Are you using the latest human_pose_estimation_demo.py code? I am not seeing any import errors after using the steps mentioned above. On DevCloud, ensure you are using OpenVINO 2021.3 Kernel.

 

Regards,

Jesus

 

Reply