Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.
6403 Discussions

What is default resource (CPU/VPU) while running "python3 ./stream_infer.py" on Ubuntu 16.04LTS-X64?

idata
Employee
984 Views

When I run "$ python3 ./stream_infer.py" command, I have monitored strange situation.

 

While running ./stream_infer.py, I though that Movidius's VPU will be execute the request of

 

./stream_infer.py. However, CPU is running 100% cpu usage on CPU #1 for doing ./stream_info.py

 

Why does CPU spend CPU resource continually instead of Movidous's VPU? And, How can we monitor

 

the usage information of VPU(Vision Processing Unit)?

 

1.5.1 Verify the directory structure and contents

 

$ cd <ncapi directory>/tools $ ./get_models.sh $./convert_models.sh $ cd <ncapi directory>/py_examples/stream_infer $ python3 ./stream_infer.py

 

Below is screenshot (with htop/aha ).

 

 

1 [||||||||||||||||||||||||||||||||||||||||100.0%] Tasks: 229, 853 thr; 2 running

 

2 [||||||||||||||||||||||||||||||||||||||||100.0%] Load average: 1.65 1.20 0.75

 

3 [ 0.0%] Uptime: 2 days, 10:39:54

 

4 [ 0.0%]

 

Mem[|||||||||||||||||||||||||||||||||||4.97G/15.6G]

 

Swp[| 81.5M/4.00G]

 

PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command

 

5584 invain 20 0 862M 63408 39276 R 80.0 0.4 10:46.77 python3 ./stream_infer.py

 

5513 invain 20 0 862M 63408 39276 S 80.0 0.4 10:50.71 python3 ./stream_infer.py

 

7668 invain 20 0 28288 4904 3272 R 80.0 0.0 0:00.03 htop

 

1 root 20 0 117M 6744 4040 S 0.0 0.0 0:13.63 /sbin/init

 

1125 root 20 0 35532 7628 7080 S 0.0 0.0 0:15.06 /lib/systemd/systemd-journald

 

1134 root 20 0 94776 1604 1428 S 0.0 0.0 0:00.00 /sbin/lvmetad -f

 

1149 root 20 0 45816 5008 2944 S 0.0 0.0 0:03.67 /lib/systemd/systemd-udevd

 

1569 invain 20 0 22556 3904 3336 S 0.0 0.0 0:00.01 /bin/bash

 

………. Omission …………..

 

0 Kudos
0 Replies
Reply