I have a problem to compile openvino-2020.3.0.zip downloaded from github. I expect it should be the source which corresponds to 2020.3.194 birary package.
The extracted ngraph and inference_engine/thirdparty/ade directories are empty and it causes erros in cmake. I would like to know how to get complete source tree of snapshot of 2020.3.194.
There is no problem to compile the source tree cloned from github, but somehow its ie_api seems to be incompatible with 2020.3.194 binary. Currently I use 22020.3.194 binary for Xeon servers , and I would like to build compatible ie_api one for Arm64 boxes.
Please help to download from Openvino official site here :
and try to compile again.
Choose carefully according to your development environment (eg: windows/Linux/etc)
Thanks for your reply.
I suppose that Openvino official site provides only pre-compiled binary packages for x86_64 linux, linux with FPGA and Windows platforms except some releases for Raspberry Pi. Could you please direct how to download source tree?
I would like to download the source tree which is compiled as OpenVINO 2020.3.194 release. I suppose it could be downloaded from https://github.com/openvinotoolkit/openvino/releases/tag/2020.3.0 but both .zip and .tar.gz are not complete ones as I described in my previous post.
The complete source code is on the git repository. The issue is that the "missing" code is stored as sub-modules in github, and the zip file doesn't add them.
Just do this instead of downloading the zip file:
git clone --recursive https://github.com/openvinotoolkit/openvino.git
That way it will grab the sub-modules as well, for example:
ls openvino/inference-engine/thirdparty/ade CMakeLists.txt LICENSE README.md sources tutorial
I understand to use "git submodule" command for source tree cloned from github. But zip file or tarball downloaded from https://github.com/openvinotoolkit/openvino/releases/tag/2020.3.0 does not incude .git repository info and "git submodule" does not work.
I can successfully compile the source tree clones with "git clone https://github.com/openvinotoolkit/openvino" and "git submodule --recursive --init", but ie-api of compiled inference engine is incompatible with 2020.3.194 x86_64 binary package, even using source tree cloned on June 4th, one day after 2020.3.194 release.
The souce files in cloned openvino/inference_engine/ie_bridges/c or python are much different from the ones in openvino-2020.3.0.tar.gz supposed as snapshot for 2020.3.194.
You're not specifying a branch when cloning so you're getting master, which is the latest.
Maybe this is the branch you're looking for:
git clone --recursive --branch releases/2020/4 https://github.com/openvinotoolkit/openvino.git
I appreciate your direction.
I cloned both branch release/2020/4 and release/2020/3 and confirmed that release/2020/3 is identical with untared 2020.3.0 except ngraph/ , inference-engine/thirdparty/ade/ and some misc files like as .git, .github, README.md and so on. I have compiled release/2020/3 successfully.
Thank you very much for your help.
Can I ask one more question?
Regarding OpenCV, there are three tags 4.3.0, 4.3.0-openvino and 4.3.0-openvino-2020.3.0 in github. Which one I should use to build compatible binary with 2020.3.194 release?
I have executed opencv_version command in /opt/intel/openvino_2020.3.194/opencv/bin/ on xeon server and the result is "4.3.0-openvino-2020.3.0". I will clone with 4.3.0-openvino-2020.3.0 tag.
Glad to hear it worked for you.
Yeah, that OpenCV version sounds like the correct one.
Keep in mind that if you want to have exactly the same binaries you'll need the same OS version, which will have the same versions of all the dependencies.
I mention this because if you are building OpenVINO is a supported OS, like Ubuntu 18.04 for example, then OpenCV is downloaded automatically from here:
This is specified at the following file:
Having said that, compiling that version of OpenCV might also work for you depending on your environment and needs.
My target ARCH is arm64 and the target OS is some sort of embeded linux. I suppose there is no suitable one in https://download.01.org/opencv/2020/openvinotoolkit/2020.3/inference_engine/ . I compiled OpenCV source cloned from github successfully.
Thanks again for your advise.