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.

NOT_ALLOCATED

idata
Employee
646 Views

Hi,

 

So I have installed the NCS SDK V2 on a ASUS Tinkerboard. We can run the example fine. However I have some problems.

 

1) I can compile the model but I get the following problem:

 

linaro@linaro-alip:~/Desktop/ncsdk/api/src$ make

 

if [ ! -e ./version.txt ] ; then echo "missing version.txt file"; exit 1; fi;

 

cc -shared obj-armv7l/mvnc_api.o obj-armv7l/fp16.o obj-armv7l//home/linaro/Desktop/ncsdk/api/src/common/components/XLink/pc/usb_boot.o obj-armv7l//home/linaro/Desktop/ncsdk/api/src/common/components/XLink/shared/XLink.o obj-armv7l//home/linaro/Desktop/ncsdk/api/src/common/components/XLink/shared/XLinkDispatcher.o obj-armv7l//home/linaro/Desktop/ncsdk/api/src/common/components/XLinkConsole/pc/XLinkConsole.o obj-armv7l//home/linaro/Desktop/ncsdk/api/src/common/components/XLink/pc/UsbLinkPlatform.o -o obj-armv7l/libmvnc.so.0 -lpthread -lusb-1.0 -ldl -lmvnc_highclass -L/usr/local/lib/

 

/usr/bin/ld: cannot find -lmvnc_highclass

 

collect2: error: ld returned 1 exit status

 

Makefile:50: recipe for target 'obj-armv7l/libmvnc.so.0' failed

 

make: *** [obj-armv7l/libmvnc.so.0] Error 1

 

linaro@linaro-alip:~/Desktop/ncsdk/api/src$

 

2) So it turns out I don't need to compile the model anyway as on the ncsdk2 branch of the modelzoo the model is included. So I go to run it on the Tinker Board and I get this:

 

linaro@linaro-alip:~/Desktop/ncappzoo/caffe/SSD_MobileNet$ python3 run.py

 

Traceback (most recent call last):

 

File "run.py", line 12, in

 

import mvnc_simple_api as mvnc

 

File "../../ncapi2_shim/mvnc_simple_api.py", line 10, in

 

class mvncStatus(Enum):

 

File "../../ncapi2_shim/mvnc_simple_api.py", line 23, in mvncStatus

 

NOT_ALLOCATED = mvncapi2.Status.NOT_ALLOCATED

 

File "/usr/local/lib/python3.6/dist-packages/mvnc/mvncapi.py", line 46, in _getattr_

 

return getattr(self.new_target, attr)

 

File "/usr/lib/python3.6/enum.py", line 324, in _getattr_

 

raise AttributeError(name) from None

 

AttributeError: NOT_ALLOCATED

 

3) I realised that when i cloned the ncsdk into /test and it worked its because it was v1 so i deleted and recloned the repo (to be sure) and switched to v2 and sure enough i cant make the api/src folder. I tried switching back to model zoo v1 and using the graph file i created which was in v1 sdk and it says

 

linaro@linaro-alip:~/Desktop/ncappzoo/caffe/SSD_MobileNet$ python3 run.py

 

Traceback (most recent call last):

 

File "run.py", line 216, in

 

sys.exit(main())

 

File "run.py", line 196, in main

 

graph = device.AllocateGraph(graph_in_memory)

 

File "/usr/local/lib/python3.6/dist-packages/mvnc/mvncapi.py", line 203, in AllocateGraph

 

raise Exception(Status(status))

 

Exception: mvncStatus.UNSUPPORTED_GRAPH_FILE

 

Any ideas? As I'm really stumped.

 

Thank you!

0 Kudos
1 Reply
idata
Employee
378 Views

@djaenicke

 

Hi, did you use mvNCCompile from ncsdk2 to create your graph?

 

If yes, try to recompile
0 Kudos
Reply