So I ran ls ./lib inside my neural_security_system directory and it returned libcpu_extension.so, and it also shows up when I run the sudo find / -name libcpu_extension.so command. Could it be looking at the wrong /lib directory? Meaning is it a linker issue?
Also, my inference_engine.hpp is located here /home/tc23/intel/openvino_2019.1.133/deployment_tools/inference_engine/include/inference_engine.hpp. Looking at the Makefile, it looks like it was looking at computer_vision_sdk and then further down on the path ubuntu_16.04, which neither directory seems to get created when installing openvino (at least anymore)
If the above works for you, and you can successfully build and run, I will probably merge everything back into the master branch since everyone following this documentation is probably using the 2019 R1 build (that changes all the paths, breaking everything).
Thanks so much for taking the time to look at everything! I got as far as git checkout openvino-2019-R1, before I hit a snag.
tc23@NUC:~$ git checkout openvino-2019-R1
fatal: Not a git repository (or any of the parent directories): .git
That’s the message I received when I tried to run that command, everything else was successful until then
Edit: I’m stupid and just realized I didn’t cd into the new directory created by the prior step. I’ll continue the steps tonight when I back in front of my computer and report back. Thanks!
OK, working my way down the command list, but now I am getting the following when I try to run python3 convert_weights_pb.py --class_names coco.names --data_format NHWC --weights_file yolov3-tiny.weights --output_graph frozen_tiny_yolov3_model.pb --tiny
tc23@NUC:~/tensorflow-yolo-v3$ python3 convert_weights_pb.py --class_names coco.names --data_format NHWC --weights_file yolov3-tiny.weights --output_graph frozen_tiny_yolov3_model.pb --tiny
2019-05-14 21:04:08.111133: F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use AVX instructions, but these aren’t available on your machine.
Aborted (core dumped)
I’m wondering if this is because I couldn’t downgrade tensorflow without using sudo?
Edit: I was able to successfully downgrade tensorflow by adding the --user option, so the command was pip3 install --user tensorflow==1.12.0 --upgrade but I am still getting the Abort (core dumped) message
Sorry, maybe that’s where are my problems are, I’m not on a VM, but rather a NUC with ubuntu as the OS Also, I moved on and tried the make -B command again but was getting the same errors. I went into the Makefile and removed references to the ubuntu_16.04 directory and now I am down to only the libcpu_extension.so error. That said, I understand if I have taken up too much of your time already with so many questions!
If you followed the instructions here, then you shouldn’t have to modify the Makefile. I created that branch openvino-2018-R1 in my repository so that the Makefile was already good to go.
Once you checkout that branch, then the make -B command should work.
hmm i seem to be on the proper branch, and aside from the tensorflow AVX issue, I have gotten all the commands to work properly. Here is the response i get when I try checkout again.
tc23@NUC:~/neural_security_system$ git checkout openvino-2019-R1
M Makefile
M lib/libcpu_extension.so
D neural_security_system
Already on ‘openvino-2019-R1’
Your branch is up-to-date with ‘origin/openvino-2019-R1’.
But I’ll keep at it, its probably something stupid I’m doing on my end. Thank you for all your help, I’ll let you know if I’m successful:grin:
tc23@NUC:~/neural_security_system$ git status
On branch openvino-2019-R1
Your branch is up-to-date with ‘origin/openvino-2019-R1’.
Changes not staged for commit:
(use “git add/rm …” to update what will be committed)
(use “git checkout – …” to discard changes in working directory)
deleted: neural_security_system
no changes added to commit (use “git add” and/or “git commit -a”)