Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 25b601a

Browse files
authored
Dev (#8)
* upd new version * OpenBLAS faster than JIT * wheel already manylinux and should not be used for win
1 parent 9561b60 commit 25b601a

File tree

5 files changed

+10
-16
lines changed

5 files changed

+10
-16
lines changed

TODO.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
11
# TODO list
2-
3-
1. Prevent ngrph from building tests via [cmake-flags](https://github.com/NervanaSystems/ngraph/blob/master/CMakeLists.txt)
4-
2. Now `-D GEMM=JIT` has compatible to the OpenBLAS inference speed (not x10 difference, but 2-20%). Do comparison speed test in the next release.
5-
3. Change wheel naming so that it will not be visible for Windows

build/dldt/dldt_setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ cmake -D CMAKE_BUILD_TYPE=Release \
3737
-D ENABLE_AVX2=ON \
3838
-D ENABLE_AVX512F=OFF \
3939
-D NGRAPH_UNIT_TEST_ENABLE=OFF \
40+
-D NGRAPH_TEST_UTIL_ENABLE=OFF \
4041
-D NGRAPH_ONNX_IMPORT_ENABLE=ON \
4142
-D NGRAPH_JSON_ENABLE=ON \
4243
-D BLAS_LIBRARIES="$BLAS_LIB" \

create_wheel/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def __len__(self):
1515

1616
setuptools.setup(
1717
name="opencv-python-inference-engine",
18-
version="4.3.0.1",
18+
version="4.3.0.2",
1919
url="https://github.com/banderlog/opencv-python-inference-engine",
2020
maintainer="Kabakov Borys",
2121
license='MIT, BSD, Intel Simplified Software License',

download_all_stuff.sh

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ red () {
1515

1616
green "DOWNLOAD ALL ARCHIVES"
1717
wget -c https://github.com/opencv/opencv/archive/4.3.0.tar.gz -O opencv.tar.gz
18-
wget -c https://github.com/FFmpeg/FFmpeg/archive/n4.2.2.tar.gz -O ffmpeg.tar.gz
19-
wget -c https://github.com/openvinotoolkit/openvino/archive/2020.2.tar.gz -O dldt.tar.gz
18+
wget -c https://github.com/openvinotoolkit/openvino/archive/2020.3.0.tar.gz -O dldt.tar.gz
19+
wget -c https://github.com/FFmpeg/FFmpeg/archive/n4.3.tar.gz -O ffmpeg.tar.gz
20+
wget -c https://github.com/xianyi/OpenBLAS/archive/v0.3.10.tar.gz -O openblas.tar.gz
2021

2122

2223
green "CLEAN LIB DIRS"
2324
rm -drf ./dldt/*
2425
rm -drf ./ffmpeg/*
2526
rm -drf ./opencv/*
26-
find ./openblas/ -mindepth 1 -delete
27+
rm -drf ./openblas/*
2728

2829
green "CLEAN BUILD DIRS"
2930
find build/dldt/ -mindepth 1 -not -name 'dldt_setup.sh' -delete
@@ -38,9 +39,10 @@ rm -drf create_wheel/dist
3839
rm -drf create_wheel/*egg-info
3940

4041
green "UNZIP ALL STUFF"
42+
tar -xf opencv.tar.gz --strip-components=1 -C ./opencv/
4143
tar -xf dldt.tar.gz --strip-components=1 -C ./dldt/
4244
tar -xf ffmpeg.tar.gz --strip-components=1 -C ./ffmpeg/
43-
tar -xf opencv.tar.gz --strip-components=1 -C ./opencv/
45+
tar -xf openblas.tar.gz --strip-components=1 -C ./openblas/
4446

4547
green "GIT RESET FOR ade"
4648
cd ./dldt/inference-engine/thirdparty/ade
@@ -52,11 +54,6 @@ cd ../../../ngraph
5254
git clone https://github.com/NervanaSystems/ngraph ./
5355
git reset --hard edc65ca
5456

55-
green "GET RESET FOR OpenBLAS"
56-
cd ../../openblas/
57-
git clone --single-branch -b develop https://github.com/xianyi/OpenBLAS ./
58-
git reset --hard 9f67d03 # 2020-Mar-23
59-
6057
green "CREATE VENV"
6158
cd ../
6259

tests/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tensorflow-cpu
1+
tensorflow-cpu==2.2.0
2+
scipy==1.4.1
23
scikit-image
3-
scipy
44
ipython

0 commit comments

Comments
 (0)