Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
33 Views

Follow up on issue #350: Can not run ncappzoo in Raspberry Pi

Hello, I wanted to use make run to run model in Raspberry Pi I followed instructions given on issue #350 and corrected the PYTHONPATH, Now it can find mo.py file, buy it seems it is unable to find 20180408-102900.bin, '20180408-102900.xml, which is understandable as RaspberryPI does not have model optimizer in it.  AS you can see the directory has 20180408-102900..pb,  I then took the 20180408-102900.pb file and wanted to convert using my LInux machine but found error  - which  opened up another ticket. 

Can you please suggest what I am doing wrong.

 

Thanks.

 

CONTENT OF VIDEO_FACE_MATCHER

pi@raspberrypi:~/build/ncappzoo/apps/video_face_matcher $ ls

20180408-102900.pb Face_profile.py model-20180408-102900.ckpt-90.index My_network.py screen_shot.png

AUTHORS Makefile model-20180408-102900.meta Person_profile.py validated_faces

Face_detection_results.py model-20180408-102900.ckpt-90.data-00000-of-00001 mo.py README.md video_face_matcher.py

ERROR WHEN MAKE RUN

pi@raspberrypi:~/build/ncappzoo/apps/video_face_matcher $ sudo make run


 

video_face_matcher: Downloading required data for model...

mkdir -p validated_faces; \

(cd validated_faces; mkdir -p Trump; cd Trump; wget -c --no-cache -P . https://raw.githubusercontent.com/nealvis/media/master/face_pics/trump.jpg)

--2020-01-22 11:04:53-- https://raw.githubusercontent.com/nealvis/media/master/face_pics/trump.jpg

Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.184.133

Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.184.133|:443... connected.

HTTP request sent, awaiting response... 416 Range Not Satisfiable


 

The file is already fully retrieved; nothing to do.


 


 

video_face_matcher: Compiling the model to IR...

- Making Facenet IRs in Facenet project.

make[1]: Entering directory '/home/pi/build/ncappzoo/networks/facenet'


 

facenet: Making model zoo...

(cd ../../omz; make all;)

make[2]: Entering directory '/home/pi/build/ncappzoo/omz'


 

open_model_zoo: Checking requirements...

Checking pyyaml...

- pyyaml already installed.


 


 

open_model_zoo: Making dependencies...


 

open_model_zoo: Downloading required data...

Open model zoo already exists. No need to clone.

make[2]: Leaving directory '/home/pi/build/ncappzoo/omz'


 

facenet: Checking zoo model files...

- Model files already exists.


 

facenet: Compiling model to IR...

Checking OpenVINO environment...

Please initiate the Intel OpenVINO environment by going to the installation directory for openvino and running the setupvars.sh file in the bin folder.

make[1]: *** [Makefile:68: compile_model] Error 1

make[1]: Leaving directory '/home/pi/build/ncappzoo/networks/facenet'

- Copying IRs to project folder...

cp: cannot stat '20180408-102900.bin': No such file or directory

cp: cannot stat '20180408-102900.xml': No such file or directory

make: *** [Makefile:40: compile_default_model] Error 1

0 Kudos
1 Reply
Highlighted
33 Views

Thank you for reaching out.

We recommend you look at this section and follow the steps to add the Model Optimizer to Raspberry Pi. Also, we recommend you to check the Model Downloader that is already included in OpenVINO.

As another step, please run the following script to temporarily set the environment variables:

source /opt/intel/openvino/bin/setupvars.sh

Regards,

Randall B.

0 Kudos