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.
6474 Discussions

make Errors W/ ncappzoo/tensorflow/facenet/

idata
Employee
1,017 Views

Trial Environment:

 

1 NCS device

 

1 linux camera

 

NCSDK1.12

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# ls

 

20170512-110547.zip get_zipped_facenet_model.sh Makefile README.md validated_images

 

convert_facenet.py inception_resnet_v1.py neal_2017-12-19-155037.jpg run.py valid.jpg

 

elvis-presley-401920_640.jpg licenses.txt president-67550_640.jpg trump.jpg

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# make all

 

making pictures

 

wget -c --no-cache -P . https://raw.githubusercontent.com/nealvis/media/master/face_pics/licenses.txt; wget -c --no-cache -P . https://raw.githubusercontent.com/nealvis/media/master/face_pics/elvis-presley-401920_640.jpg; wget -c --no-cache -P . https://raw.githubusercontent.com/nealvis/media/master/face_pics/trump.jpg; wget -c --no-cache -P . https://raw.githubusercontent.com/nealvis/media/master/face_pics/president-67550_640.jpg;

 

--2018-06-14 19:25:55-- https://raw.githubusercontent.com/nealvis/media/master/face_pics/licenses.txt

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.0.133, 151.101.64.133, 151.101.128.133, …

 

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

 

HTTP request sent, awaiting response… 416 Range Not Satisfiable

 

The file is already fully retrieved; nothing to do.

 

--2018-06-14 19:25:56-- https://raw.githubusercontent.com/nealvis/media/master/face_pics/elvis-presley-401920_640.jpg

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.0.133, 151.101.64.133, 151.101.128.133, …

 

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

 

HTTP request sent, awaiting response… 416 Range Not Satisfiable

 

The file is already fully retrieved; nothing to do.

 

--2018-06-14 19:25:57-- https://raw.githubusercontent.com/nealvis/media/master/face_pics/trump.jpg

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.0.133, 151.101.64.133, 151.101.128.133, …

 

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

 

HTTP request sent, awaiting response… 416 Range Not Satisfiable

 

The file is already fully retrieved; nothing to do.

 

--2018-06-14 19:25:58-- https://raw.githubusercontent.com/nealvis/media/master/face_pics/president-67550_640.jpg

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.0.133, 151.101.64.133, 151.101.128.133, …

 

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

 

HTTP request sent, awaiting response… 416 Range Not Satisfiable

 

The file is already fully retrieved; nothing to do.

 

making prereqs

 

inception_resnet_v1.py exists, not regetting it.

 

making zipped model

 

Zipped model already exists, skipping download

 

making model

 

Zip file exists.

 

Unzipping.

 

Archive: 20170512-110547.zip

 

End-of-central-directory signature not found. Either this file is not

 

a zipfile, or it constitutes one disk of a multi-part archive. In the

 

latter case the central directory and zipfile comment will be found on

 

the last disk(s) of this archive.

 

unzip: cannot find zipfile directory in one of 20170512-110547.zip or

 

20170512-110547.zip.zip, and cannot find 20170512-110547.zip.ZIP, period.

 

/bin/sh: 12: cd: can't cd to 20170512-110547

 

mv: cannot stat 'model-20170512-110547.ckpt-250000.data-00000-of-00001': No such file or directory

 

mv: cannot stat 'model-20170512-110547.ckpt-250000.index': No such file or directory

 

mv: cannot stat 'model-20170512-110547.meta': No such file or directory

 

Converted directory does not exist, doing conversion

 

python3: can't open file '../convert_facenet.py': [Errno 2] No such file or directory

 

making compile

 

/bin/sh: 7: cd: can't cd to 20170512-110547/facenet_celeb_ncs

 

Command line: mvNCCompile facenet_celeb_ncs.meta -w facenet_celeb_ncs -s 12 -in input -on output -o facenet_celeb_ncs.graph

 

mvNCCompile v02.00, Copyright @ Movidius Ltd 2016

 

/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py:766: DeprecationWarning: builtin type EagerTensor has no module attribute

 

EagerTensor = c_api.TFE_Py_InitEagerTensor(_EagerTensorBase)

 

/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/tf_inspect.py:45: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead

 

if d.decorator_argspec is not None), _inspect.getargspec(target))

 

Traceback (most recent call last):

 

File "/usr/local/bin/mvNCCompile", line 118, in

 

create_graph(args.network, args.inputnode, args.outputnode, args.outfile, args.nshaves, args.inputsize, args.weights)

 

File "/usr/local/bin/mvNCCompile", line 104, in create_graph

 

net = parse_tensor(args, myriad_config)

 

File "/usr/local/bin/ncsdk/Controllers/TensorFlowParser.py", line 213, in parse_tensor

 

saver = tf.train.import_meta_graph(path, clear_devices=True)

 

File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 1803, in import_meta_graph

 

meta_graph_def = meta_graph.read_meta_graph_file(meta_graph_or_file)

 

File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/meta_graph.py", line 555, in read_meta_graph_file

 

raise IOError("File %s does not exist." % filename)

 

OSError: File facenet_celeb_ncs.meta does not exist.

 

cp: cannot stat 'facenet_celeb_ncs.graph': No such file or directory

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet#
0 Kudos
7 Replies
idata
Employee
629 Views

@ideallyworld Seems like the system is having issues unzipping one of the compressed files. I can see that the file is there in your log, but maybe it could be corrupted. Can you try doing a make clean and then a make all again?

0 Kudos
idata
Employee
629 Views

@Tome_at_Intel Thanks,I try the make cleanand make all again. It's still the same error result.

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# ls

 

convert_facenet.py get_zipped_facenet_model.sh Makefile neal_2017-12-19-155037.jpg README.md run.py validated_images valid.jpg

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# make clean

 

making clean

 

rm -f facenet_celeb_ncs.graph

 

rm -f trump.jpg

 

rm -f president-67550_640.jpg

 

rm -f elvis-presley-401920_640.jpg

 

rm -f licenses.txt

 

rm -rf 20170512-110547

 

rm -f 20170512-110547.zip

 

rm -f inception_resnet_v1.py

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# ls

 

convert_facenet.py get_zipped_facenet_model.sh Makefile neal_2017-12-19-155037.jpg README.md run.py validated_images valid.jpg

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# make all

 

making pictures

 

wget -c --no-cache -P . https://raw.githubusercontent.com/nealvis/media/master/face_pics/licenses.txt; wget -c --no-cache -P . https://raw.githubusercontent.com/nealvis/media/master/face_pics/elvis-presley-401920_640.jpg; wget -c --no-cache -P . https://raw.githubusercontent.com/nealvis/media/master/face_pics/trump.jpg; wget -c --no-cache -P . https://raw.githubusercontent.com/nealvis/media/master/face_pics/president-67550_640.jpg;

 

--2018-06-17 00:19:46-- https://raw.githubusercontent.com/nealvis/media/master/face_pics/licenses.txt

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.52.133

 

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

 

HTTP request sent, awaiting response… 200 OK

 

Length: 452 [text/plain]

 

Saving to: ‘./licenses.txt’

 

licenses.txt 100%[===============================================================>] 452 --.-KB/s in 0s

 

2018-06-17 00:19:48 (53.8 MB/s) - ‘./licenses.txt’ saved [452/452]

 

…..

 

2018-06-17 00:19:49 (128 KB/s) - ‘./elvis-presley-401920_640.jpg’ saved [55773/55773]

 

--2018-06-17 00:19:49-- https://raw.githubusercontent.com/nealvis/media/master/face_pics/trump.jpg

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.52.133

 

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

 

HTTP request sent, awaiting response… 200 OK

 

Length: 18375 (18K) [image/jpeg]

 

Saving to: ‘./trump.jpg’

 

trump.jpg 100%[===============================================================>] 17.94K 82.0KB/s in 0.2s

 

2018-06-17 00:19:51 (82.0 KB/s) - ‘./trump.jpg’ saved [18375/18375]

 

--2018-06-17 00:19:51-- https://raw.githubusercontent.com/nealvis/media/master/face_pics/president-67550_640.jpg

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.52.133

 

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

 

HTTP request sent, awaiting response… 200 OK

 

Length: 82670 (81K) [image/jpeg]

 

Saving to: ‘./president-67550_640.jpg’

 

president-67550_640.jpg 100%[===============================================================>] 80.73K 153KB/s in 0.5s

 

2018-06-17 00:19:52 (153 KB/s) - ‘./president-67550_640.jpg’ saved [82670/82670]

 

making prereqs

 

--2018-06-17 00:19:52-- https://raw.githubusercontent.com/davidsandberg/facenet/361c501c8b45183b9f4ad0171a9b1b20b2690d9f/src/models/inception_resnet_v1.py

 

Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.52.133

 

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

 

HTTP request sent, awaiting response… 200 OK

 

Length: 11772 (11K) [text/plain]

 

Saving to: ‘./inception_resnet_v1.py’

 

inception_resnet_v1.py 100%[===============================================================>] 11.50K --.-KB/s in 0.02s

 

2018-06-17 00:19:53 (540 KB/s) - ‘./inception_resnet_v1.py’ saved [11772/11772]

 

making zipped model

 

Attempting to download 20170512-110547.zip from this url:

 

https://drive.google.com/file/d/0B5MzpY9kBtDVZ2RpVDYwWmxoSUk

 

--2018-06-17 00:19:55-- https://docs.google.com/uc?export=download&confirm=1eTC&id=0B5MzpY9kBtDVZ2RpVDYwWmxoSUk

 

Resolving docs.google.com (docs.google.com)… 172.217.5.110, 2607:f8b0:4005:808::200e

 

Connecting to docs.google.com (docs.google.com)|172.217.5.110|:443… connected.

 

HTTP request sent, awaiting response… 200 OK

 

Length: unspecified [text/html]

 

Saving to: ‘20170512-110547.zip’

 

20170512-110547.zip [ ] 3.40K --.-KB/s in 0.01s

 

2018-06-17 00:19:56 (281 KB/s) - ‘20170512-110547.zip’ saved [3481]

 

making model

 

Zip file exists.

 

Unzipping.

 

Archive: 20170512-110547.zip

 

End-of-central-directory signature not found. Either this file is not

 

a zipfile, or it constitutes one disk of a multi-part archive. In the

 

latter case the central directory and zipfile comment will be found on

 

the last disk(s) of this archive.

 

unzip: cannot find zipfile directory in one of 20170512-110547.zip or

 

20170512-110547.zip.zip, and cannot find 20170512-110547.zip.ZIP, period.

 

/bin/sh: 12: cd: can't cd to 20170512-110547

 

mv: cannot stat 'model-20170512-110547.ckpt-250000.data-00000-of-00001': No such file or directory

 

mv: cannot stat 'model-20170512-110547.ckpt-250000.index': No such file or directory

 

mv: cannot stat 'model-20170512-110547.meta': No such file or directory

 

Converted directory does not exist, doing conversion

 

python3: can't open file '../convert_facenet.py': [Errno 2] No such file or directory

 

making compile

 

/bin/sh: 7: cd: can't cd to 20170512-110547/facenet_celeb_ncs

 

Command line: mvNCCompile facenet_celeb_ncs.meta -w facenet_celeb_ncs -s 12 -in input -on output -o facenet_celeb_ncs.graph

 

mvNCCompile v02.00, Copyright @ Movidius Ltd 2016

 

/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py:766: DeprecationWarning: builtin type EagerTensor has no module attribute

 

EagerTensor = c_api.TFE_Py_InitEagerTensor(_EagerTensorBase)

 

/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/tf_inspect.py:45: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead

 

if d.decorator_argspec is not None), _inspect.getargspec(target))

 

Traceback (most recent call last):

 

File "/usr/local/bin/mvNCCompile", line 118, in

 

create_graph(args.network, args.inputnode, args.outputnode, args.outfile, args.nshaves, args.inputsize, args.weights)

 

File "/usr/local/bin/mvNCCompile", line 104, in create_graph

 

net = parse_tensor(args, myriad_config)

 

File "/usr/local/bin/ncsdk/Controllers/TensorFlowParser.py", line 213, in parse_tensor

 

saver = tf.train.import_meta_graph(path, clear_devices=True)

 

File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py", line 1803, in import_meta_graph

 

meta_graph_def = meta_graph.read_meta_graph_file(meta_graph_or_file)

 

File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/meta_graph.py", line 555, in read_meta_graph_file

 

raise IOError("File %s does not exist." % filename)

 

OSError: File facenet_celeb_ncs.meta does not exist.

 

cp: cannot stat 'facenet_celeb_ncs.graph': No such file or directory

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet#
0 Kudos
idata
Employee
629 Views

@ideallyworld Looks like you're having issues downloading the facenet file. If the facenet model zip file became corrupted or the download was interrupted, but the incomplete zip file still saved, subsequent attempts will not replace the file if the corrupted zip file exists. You can try deleting the 20170512.110547.zip file and try running the make run command again.

 

Alternatively, you can try manually downloading the file from https://drive.google.com/file/d/0B5MzpY9kBtDVZ2RpVDYwWmxoSUk, placing the zip file in the facenet directory and trying make run again. Let me know if this works for you. Thanks.

0 Kudos
idata
Employee
629 Views

@Tom_at_Intel The first comment( try deleting the 20170512.110547.zip file and try ) result is as follow, It gets another error. I check it but don't understand why could get that error.

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# ls

 

20170512-110547.zip get_zipped_facenet_model.sh Makefile README.md validated_images

 

convert_facenet.py inception_resnet_v1.py neal_2017-12-19-155037.jpg run.py valid.jpg

 

elvis-presley-401920_640.jpg licenses.txt president-67550_640.jpg trump.jpg

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# rm -rf 20170512-110547.zip

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# ls

 

convert_facenet.py inception_resnet_v1.py neal_2017-12-19-155037.jpg run.py valid.jpg

 

elvis-presley-401920_640.jpg licenses.txt president-67550_640.jpg trump.jpg

 

get_zipped_facenet_model.sh Makefile README.md validated_images

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# make run

 

….

 

making prereqs

 

inception_resnet_v1.py exists, not regetting it.

 

making zipped model

 

Attempting to download 20170512-110547.zip from this url:

 

https://drive.google.com/file/d/0B5MzpY9kBtDVZ2RpVDYwWmxoSUk

 

--2018-06-18 23:40:43-- https://docs.google.com/uc?export=download&confirm=HNTO&id=0B5MzpY9kBtDVZ2RpVDYwWmxoSUk

 

Resolving docs.google.com (docs.google.com)… 172.217.0.46, 2607:f8b0:4005:802::200e

 

Connecting to docs.google.com (docs.google.com)|172.217.0.46|:443… connected.

 

HTTP request sent, awaiting response… 302 Moved Temporarily

 

Location: https://doc-0c-7k-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/v475u6s2vp67qutdc098vfqhjdkohvgm/1529388000000/18056234690049221457/_/0B5MzpY9kBtDVZ2RpVDYwWmxoSUk?e=download [following]

 

Warning: wildcards not supported in HTTP.

 

--2018-06-18 23:40:44-- https://doc-0c-7k-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/v475u6s2vp67qutdc098vfqhjdkohvgm/1529388000000/18056234690049221457/_/0B5MzpY9kBtDVZ2RpVDYwWmxoSUk?e=download

 

Resolving doc-0c-7k-docs.googleusercontent.com (doc-0c-7k-docs.googleusercontent.com)… 172.217.0.33, 2607:f8b0:4005:802::2001

 

Connecting to doc-0c-7k-docs.googleusercontent.com (doc-0c-7k-docs.googleusercontent.com)|172.217.0.33|:443… connected.

 

HTTP request sent, awaiting response… 200 OK

 

Length: unspecified [application/zip]

 

Saving to: ‘20170512-110547.zip’

 

20170512-110547.zip [ ] 183.08M 358KB/s in 9m 32s

 

2018-06-18 23:50:18 (327 KB/s) - ‘20170512-110547.zip’ saved [191972345]

 

making model

 

Zip file exists.

 

Unzipping.

 

Archive: 20170512-110547.zip

 

inflating: 20170512-110547/20170512-110547.pb

 

inflating: 20170512-110547/model-20170512-110547.ckpt-250000.data-00000-of-00001

 

inflating: 20170512-110547/model-20170512-110547.ckpt-250000.index

 

inflating: 20170512-110547/model-20170512-110547.meta

 

Converted directory does not exist, doing conversion

 

model base file name is: facenet_celeb

 

2018-06-18 23:50:35.312668: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA

 

Restoring facenet_celeb

 

making compile

 

Command line: mvNCCompile facenet_celeb_ncs.meta -w facenet_celeb_ncs -s 12 -in input -on output -o facenet_celeb_ncs.graph

 

mvNCCompile v02.00, Copyright @ Movidius Ltd 2016

 

/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py:766: DeprecationWarning: builtin type EagerTensor has no module attribute

 

EagerTensor = c_api.TFE_Py_InitEagerTensor(_EagerTensorBase)

 

/usr/local/lib/python3.5/dist-packages/tensorflow/python/util/tf_inspect.py:45: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() instead

 

if d.decorator_argspec is not None), _inspect.getargspec(target))

 

Layer InceptionResnetV1/Repeat/block35_1/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat/block35_2/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat/block35_3/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat/block35_4/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat/block35_5/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Mixed_6a/Branch_0/Conv2d_1a_3x3/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_1/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_2/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_3/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_4/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_5/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_6/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_7/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_8/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_9/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_10/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Mixed_7a/Branch_0/Conv2d_1a_3x3/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Mixed_7a/Branch_1/Conv2d_1a_3x3/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Mixed_7a/Branch_2/Conv2d_1a_3x3/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_2/block8_1/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_2/block8_2/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_2/block8_3/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_2/block8_4/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_2/block8_5/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Block8/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

making run

 

python3 ./run.py

 

Traceback (most recent call last):

 

File "./run.py", line 239, in

 

sys.exit(main())

 

NameError: name 'sys' is not defined

 

Makefile:144: recipe for target 'run' failed

 

make: *** [run] Error 1

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# ls

 

20170512-110547 elvis-presley-401920_640.jpg inception_resnet_v1.py neal_2017-12-19-155037.jpg README.md validated_images

 

20170512-110547.zip facenet_celeb_ncs.graph licenses.txt president-67550_640.jpg run.py valid.jpg

 

convert_facenet.py get_zipped_facenet_model.sh Makefile pycache trump.jpg

 

root@ubuntu:~/workspace/ncsdk/ncappzoo/tensorflow/facenet# ls
0 Kudos
idata
Employee
629 Views

@Tom_at_Intel Thanks. The first comment( try deleting the 20170512.110547.zip file and try ) result is OK and I got a GUI window that shows the test images and match/not match status. But when I double-check and retry the trial make clean and make run . I got follow error result.

 

inspect.signature() instead

 

if d.decorator_argspec is not None), _inspect.getargspec(target))

 

Layer InceptionResnetV1/Repeat/block35_1/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat/block35_2/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat/block35_3/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat/block35_4/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat/block35_5/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Mixed_6a/Branch_0/Conv2d_1a_3x3/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_1/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_2/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_3/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_4/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_5/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_6/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_7/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_8/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_9/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_1/block17_10/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Mixed_7a/Branch_0/Conv2d_1a_3x3/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Mixed_7a/Branch_1/Conv2d_1a_3x3/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Mixed_7a/Branch_2/Conv2d_1a_3x3/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_2/block8_1/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_2/block8_2/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_2/block8_3/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_2/block8_4/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Repeat_2/block8_5/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

Layer InceptionResnetV1/Block8/Branch_0/Conv2d_1x1/Relu forced to im2col_v2, because its output is used in concat

 

making run

 

python3 ./run.py

 

Traceback (most recent call last):

 

File "./run.py", line 240, in

 

sys.exit(main())

 

File "./run.py", line 209, in main

 

device.OpenDevice()

 

File "/usr/local/lib/python3.5/dist-packages/mvnc/mvncapi.py", line 147, in OpenDevice

 

raise Exception(Status(status))

 

Exception: mvncStatus.ERROR

 

Makefile:144: recipe for target 'run' failed

 

make: *** [run] Error 1
0 Kudos
idata
Employee
629 Views

@ideallyworld Make sure that only one app is using the device at a time. You can encounter an error if you try to open the device while another app is using the device.

0 Kudos
idata
Employee
629 Views

@Tom_at_Intel Got it,Thanks. It works OK and I get the right result.

0 Kudos
Reply