mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-16 21:00:14 +00:00
* Initial commit for OpenVINO R1 Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Fixed MO dynamic shape error Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Add debug messages for failure * Update install_openvino.sh script Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Try catch included. Return type of Isgraphsupported function changed to void * Removed error_msg variable and commented code * formatting cleanup * Added missing return statement Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Changed MO to be compatible with both R5 and R1 Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Updated docker scripts to include openvino version number Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Ignore compiler warnings from external headers * Updated dockerfiles Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Code cleanup using clang-format Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Suppress model optimizer info error Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Python code formatting using auto pep8 Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com> * Updated documentation Signed-off-by: suryasidd <surya.siddharth.pemmaraju@intel.com>
39 lines
1 KiB
Bash
Executable file
39 lines
1 KiB
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
while getopts o: parameter_Option
|
|
do case "${parameter_Option}"
|
|
in
|
|
o) OPENVINO_VERSION=${OPTARG};;
|
|
esac
|
|
done
|
|
|
|
OPENVINO_VERSION=${OPENVINO_VERSION:=2019_R1.1}
|
|
git clone https://github.com/opencv/dldt.git /data/dldt/openvino_2019.1.144
|
|
|
|
export INTEL_CVSDK_DIR=/data/dldt/openvino_2019.1.144
|
|
apt-get update && apt-get -y install libusb-1.0-0-dev
|
|
|
|
cd ${INTEL_CVSDK_DIR}/inference-engine
|
|
git submodule init
|
|
git submodule update --recursive
|
|
git checkout tags/$OPENVINO_VERSION -b $OPENVINO_VERSION
|
|
|
|
mkdir -p build
|
|
cd build
|
|
cmake ..
|
|
make -j$(nproc)
|
|
|
|
cd ${INTEL_CVSDK_DIR}
|
|
mkdir -p deployment_tools
|
|
mv inference-engine inference_engine && mv inference_engine deployment_tools/
|
|
mv model-optimizer model_optimizer && mv model_optimizer deployment_tools/
|
|
|
|
cd ${INTEL_CVSDK_DIR}/deployment_tools/model_optimizer/install_prerequisites && ./install_prerequisites_onnx.sh
|
|
|
|
cd ${INTEL_CVSDK_DIR}/deployment_tools/inference_engine
|
|
mkdir -p lib/intel64
|
|
mkdir -p external/tbb/lib
|
|
mv bin/intel64/Release/lib/* lib/intel64
|
|
mv temp/tbb/lib/* external/tbb/lib
|
|
|
|
cd ~
|