Skip to content

Commit 7d23575

Browse files
author
Roman Donchenko
authored
Merge pull request #1032 from IRDonch/release-2020.2
Merge OpenVINO toolkit 2020.2 content into master
2 parents efd238d + 61cf3a2 commit 7d23575

File tree

735 files changed

+22129
-6704
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

735 files changed

+22129
-6704
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
/tools/downloader/tests/** -omz.package
1010

1111
/ci/requirements-ac.txt omz.ci.job-for-change.ac
12+
/ci/requirements-ac-test.txt omz.ci.job-for-change.ac
1213
/ci/requirements-conversion.txt omz.ci.job-for-change.demos omz.ci.job-for-change.models
1314
/ci/requirements-demos.txt omz.ci.job-for-change.demos
1415
/ci/requirements-downloader.txt omz.ci.job-for-change.demos omz.ci.job-for-change.models

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ description: >-
150150
This is a TensorFlow\* version of `densenet-121` model, one of the DenseNet
151151
group of models designed to perform image classification. The weights were converted
152152
from DenseNet-Keras Models. For details see repository <https://github.com/pudae/tensorflow-densenet/>,
153-
paper <https://arxiv.org/pdf/1608.06993.pdf>
153+
paper <https://arxiv.org/abs/1608.06993>
154154
task_type: classification
155155
files:
156156
- name: tf-densenet121.tar.gz

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# [OpenVINO™ Toolkit](https://01.org/openvinotoolkit) - Open Model Zoo repository
2-
[![Stable release](https://img.shields.io/badge/version-2020.1-green.svg)](https://github.com/opencv/open_model_zoo/releases/tag/2020.1)
2+
[![Stable release](https://img.shields.io/badge/version-2020.2-green.svg)](https://github.com/opencv/open_model_zoo/releases/tag/2020.2)
33
[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/open_model_zoo/community)
44
[![Apache License Version 2.0](https://img.shields.io/badge/license-Apache_2.0-green.svg)](LICENSE)
55

@@ -43,7 +43,7 @@ Open Model Zoo is licensed under Apache License, Version 2.0. By contributing to
4343
Please report questions, issues and suggestions using:
4444
* [\#open_model_zoo](https://stackoverflow.com/search?q=%23open_model_zoo) tag on StackOverflow*
4545
* [GitHub* Issues](https://github.com/opencv/open_model_zoo/issues)
46-
* [Forum](https://software.intel.com/en-us/forums/computer-vision)
46+
* [Forum](https://software.intel.com/en-us/forums/intel-distribution-of-openvino-toolkit)
4747
* [Gitter](https://gitter.im/open_model_zoo/community)
4848

4949
---

ci/requirements-ac-test.txt

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
atomicwrites==1.3.0
2+
attrs==19.3.0 # via pytest
3+
editdistance==0.5.3
4+
importlib-metadata==1.5.0 # via pluggy, pytest
5+
joblib==0.14.1 # via scikit-learn
6+
more-itertools==8.2.0 # via pytest
7+
nibabel==3.0.1
8+
numpy==1.17.5 # via nibabel, scikit-learn, scipy
9+
packaging==20.1 # via pytest
10+
pathlib2==2.3.5 # via pytest
11+
pillow==7.0.0
12+
pluggy==0.13.1 # via pytest
13+
py-cpuinfo==4.0.0
14+
py==1.8.1 # via pytest
15+
pyparsing==2.4.6 # via packaging
16+
pytest-mock==2.0.0
17+
pytest==5.3.5
18+
pyyaml==5.3 # via yamlloader
19+
scikit-learn==0.22.1
20+
scipy==1.4.1
21+
sentencepiece==0.1.85
22+
shapely==1.7.0
23+
six==1.14.0 # via packaging, pathlib2
24+
tqdm==4.42.1
25+
wcwidth==0.1.8 # via pytest
26+
yamlloader==0.5.5
27+
zipp==1.1.0 # via importlib-metadata

ci/requirements-ac.txt

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
1-
#
2-
# This file is autogenerated by pip-compile
3-
# To update, run:
4-
#
5-
# pip-compile --output-file=ci/requirements-ac.txt tools/accuracy_checker/requirements.in
6-
#
7-
joblib==0.14.0 # via scikit-learn
8-
nibabel==2.5.1
9-
numpy==1.17.2
10-
pillow==6.2.0
1+
editdistance==0.5.3
2+
joblib==0.14.1 # via scikit-learn
3+
nibabel==3.0.1
4+
numpy==1.17.5 # via nibabel, scikit-learn, scipy
5+
pillow==7.0.0
116
py-cpuinfo==4.0.0
12-
pyyaml==5.1.2
13-
scikit-learn==0.21.3
14-
scipy==1.3.1
15-
shapely==1.6.4.post2
16-
six==1.12.0 # via nibabel
17-
tqdm==4.36.1
7+
pyyaml==5.3 # via yamlloader
8+
scikit-learn==0.22.1
9+
scipy==1.4.1
10+
sentencepiece==0.1.85
11+
shapely==1.7.0
12+
tqdm==4.42.1
1813
yamlloader==0.5.5

ci/requirements-conversion.txt

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
1-
absl-py==0.8.0 # via tensorboard, tensorflow
2-
astor==0.8.0 # via tensorflow
3-
certifi==2019.9.11 # via requests
1+
absl-py==0.9.0 # via tensorboard, tensorflow
2+
astor==0.8.1 # via tensorflow
3+
certifi==2019.11.28 # via requests
44
chardet==3.0.4 # via requests
5-
decorator==4.4.0 # via networkx
5+
decorator==4.4.1 # via networkx
66
defusedxml==0.6.0
7-
future==0.17.1
8-
gast==0.3.2 # via tensorflow
9-
google-pasta==0.1.7 # via tensorflow
7+
future==0.18.2
8+
gast==0.2.2 # via tensorflow
9+
google-pasta==0.1.8 # via tensorflow
1010
graphviz==0.8.4 # via mxnet
11-
grpcio==1.24.0 # via tensorboard, tensorflow
11+
grpcio==1.26.0 # via tensorboard, tensorflow
1212
h5py==2.10.0 # via keras-applications
1313
idna==2.8 # via requests
1414
keras-applications==1.0.8 # via tensorflow
1515
keras-preprocessing==1.1.0 # via tensorflow
1616
markdown==3.1.1 # via tensorboard
17-
mxnet==1.3.1
18-
networkx==2.3
19-
numpy==1.14.6
17+
mxnet==1.5.1
18+
networkx==2.4
19+
numpy==1.18.1
2020
onnx==1.6.0
21-
pillow==6.2.0 # via torchvision
21+
opt-einsum==3.1.0 # via tensorflow
22+
pillow==7.0.0 # via torchvision
2223
protobuf==3.6.1
2324
requests==2.22.0 # via mxnet
24-
scipy==1.3.1
25-
six==1.12.0 # via absl-py, grpcio, h5py, keras-preprocessing, onnx, protobuf, tensorboard, tensorflow, torchvision
26-
tensorboard==1.14.0 # via tensorflow
27-
tensorflow-estimator==1.14.0 # via tensorflow
28-
tensorflow==1.14.0
25+
scipy==1.4.1
26+
six==1.14.0 # via absl-py, google-pasta, grpcio, h5py, keras-preprocessing, onnx, protobuf, tensorboard, tensorflow, torchvision
27+
tensorboard==1.15.0 # via tensorflow
28+
tensorflow-estimator==1.15.1 # via tensorflow
29+
tensorflow==1.15.2
2930
termcolor==1.1.0 # via tensorflow
30-
torch==1.2.0
31-
torchvision==0.4.0
32-
typing-extensions==3.7.4 # via onnx
33-
typing==3.7.4 # via onnx
34-
urllib3==1.25.6 # via requests
35-
werkzeug==0.16.0 # via tensorboard
36-
wheel==0.33.6 # via tensorboard, tensorflow
31+
torch==1.4.0
32+
torchvision==0.5.0
33+
typing-extensions==3.7.4.1 # via onnx
34+
urllib3==1.25.8 # via requests
35+
werkzeug==0.16.1 # via tensorboard
36+
wheel==0.34.1 # via tensorboard, tensorflow
3737
wrapt==1.11.2 # via tensorflow
3838

3939
# The following packages are considered to be unsafe in a requirements file:
40-
# setuptools==41.2.0 # via markdown, protobuf, tensorboard
40+
# setuptools

ci/requirements-demos.txt

Lines changed: 58 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,58 @@
1-
joblib==0.14.0
2-
nibabel==2.5.1
3-
numpy==1.17.2 ; python_version >= "3.4"
4-
scikit-learn==0.21.3
5-
scipy==1.3.1
6-
six==1.12.0 # via nibabel
7-
tqdm==4.39.0
1+
absl-py==0.9.0 # via tensorboard
2+
attrs==19.3.0 # via pytest
3+
cachetools==4.0.0 # via google-auth
4+
certifi==2019.11.28 # via requests
5+
chardet==3.0.4 # via requests
6+
cycler==0.10.0 # via matplotlib
7+
entrypoints==0.3 # via flake8
8+
flake8-import-order==0.18.1 # via motmetrics
9+
flake8==3.7.9 # via motmetrics
10+
google-auth-oauthlib==0.4.1 # via tensorboard
11+
google-auth==1.11.3 # via google-auth-oauthlib, tensorboard
12+
grpcio==1.27.2 # via tensorboard
13+
idna==2.9 # via requests
14+
importlib-metadata==1.5.0 # via pluggy, pytest
15+
joblib==0.14.1 # via scikit-learn
16+
kiwisolver==1.1.0 # via matplotlib
17+
markdown==3.2.1 # via tensorboard
18+
matplotlib==3.0.3
19+
mccabe==0.6.1 # via flake8
20+
more-itertools==8.2.0 # via pytest
21+
motmetrics==1.2.0
22+
nibabel==3.0.2
23+
numpy==1.18.1 ; python_version >= "3.4"
24+
oauthlib==3.1.0 # via requests-oauthlib
25+
packaging==20.3 # via pytest
26+
pandas==0.24.2 # via motmetrics
27+
pathlib2==2.3.5 # via pytest
28+
pluggy==0.13.1 # via pytest
29+
protobuf==3.11.3 # via tensorboard, tensorboardx
30+
py-cpuinfo==5.0.0 # via pytest-benchmark
31+
py==1.8.1 # via pytest
32+
pyasn1-modules==0.2.8 # via google-auth
33+
pyasn1==0.4.8 # via pyasn1-modules, rsa
34+
pycodestyle==2.5.0 # via flake8, flake8-import-order
35+
pyflakes==2.1.1 # via flake8
36+
pyparsing==2.4.6 # via matplotlib, packaging
37+
pytest-benchmark==3.2.3 # via motmetrics
38+
pytest==5.4.1 # via motmetrics, pytest-benchmark
39+
python-dateutil==2.8.1 # via matplotlib, pandas
40+
pytz==2019.3 # via pandas
41+
requests-oauthlib==1.3.0 # via google-auth-oauthlib
42+
requests==2.23.0 # via requests-oauthlib, tensorboard
43+
rsa==4.0 # via google-auth
44+
scikit-learn==0.22.2.post1
45+
scipy==1.4.1
46+
six==1.14.0 # via absl-py, cycler, google-auth, grpcio, packaging, pathlib2, protobuf, python-dateutil, tensorboard, tensorboardx
47+
tensorboard==2.1.1
48+
tensorboardx==2.0
49+
tqdm==4.43.0
50+
urllib3==1.25.8 # via requests
51+
wcwidth==0.1.8 # via pytest
52+
werkzeug==1.0.0 # via tensorboard
53+
wheel==0.34.2 # via tensorboard
54+
xmltodict==0.12.0 # via motmetrics
55+
zipp==1.2.0 # via importlib-metadata
56+
57+
# The following packages are considered to be unsafe in a requirements file:
58+
# setuptools

ci/requirements-downloader.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
#
55
# pip-compile --output-file=ci/requirements-downloader.txt tools/downloader/requirements.in
66
#
7-
certifi==2019.9.11 # via requests
7+
certifi==2019.11.28 # via requests
88
chardet==3.0.4 # via requests
99
idna==2.8 # via requests
10-
pyyaml==5.1.2
10+
pyyaml==5.3
1111
requests==2.22.0
12-
urllib3==1.25.6 # via requests
12+
urllib3==1.25.8 # via requests

ci/update-requirements.py

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
#!/usr/bin/env python3
2+
3+
"""
4+
This script updates all of the requirements-*.txt files in this directory
5+
with the most recent package versions.
6+
7+
It uses pip-compile (https://github.com/jazzband/pip-tools), so install that
8+
before running it.
9+
"""
10+
11+
import argparse
12+
import functools
13+
import os
14+
import subprocess
15+
import sys
16+
17+
from pathlib import Path
18+
19+
# Package dependencies can vary depending on the Python version.
20+
# We thus have to run pip-compile with the lowest Python version that
21+
# the project supports.
22+
EXPECTED_PYTHON_VERSION = (3, 5)
23+
24+
repo_root = Path(__file__).resolve().parent.parent
25+
26+
def pip_compile(target, *sources, upgrade=False):
27+
print('updating {}...'.format(target), flush=True)
28+
29+
# Use --no-header, since the OpenVINO install path may vary between machines,
30+
# so it should not be embedded in the output file. Also, this script makes
31+
# the information in pip-compile's headers redundant.
32+
33+
subprocess.run(
34+
[sys.executable, '-mpiptools', 'compile',
35+
*(['--upgrade'] if upgrade else []),
36+
'--no-header', '--quiet', '-o', target, '--', *map(str, sources)],
37+
check=True, cwd=str(repo_root))
38+
39+
def main():
40+
parser = argparse.ArgumentParser()
41+
parser.add_argument('--upgrade', action='store_true', help='Bump package versions')
42+
args = parser.parse_args()
43+
44+
if sys.version_info[:2] != EXPECTED_PYTHON_VERSION:
45+
sys.exit("run this with Python {}".format('.'.join(map(str, EXPECTED_PYTHON_VERSION))))
46+
47+
if 'INTEL_OPENVINO_DIR' not in os.environ:
48+
sys.exit("run OpenVINO toolkit's setupvars.sh before this")
49+
50+
openvino_dir = Path(os.environ['INTEL_OPENVINO_DIR'])
51+
52+
pc = functools.partial(pip_compile, upgrade=args.upgrade)
53+
54+
pc('ci/requirements-ac.txt',
55+
'tools/accuracy_checker/requirements.in')
56+
pc('ci/requirements-ac-test.txt',
57+
'tools/accuracy_checker/requirements.in', 'tools/accuracy_checker/requirements-test.in')
58+
pc('ci/requirements-conversion.txt',
59+
'tools/downloader/requirements-pytorch.in', 'tools/downloader/requirements-caffe2.in',
60+
openvino_dir / 'deployment_tools/model_optimizer/requirements.txt')
61+
pc('ci/requirements-demos.txt',
62+
'demos/python_demos/requirements.txt', openvino_dir / 'python/requirements.txt')
63+
pc('ci/requirements-downloader.txt',
64+
'tools/downloader/requirements.in')
65+
66+
if __name__ == '__main__':
67+
main()

demos/CMakeLists.txt

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -157,19 +157,15 @@ macro(ie_add_sample)
157157
endif()
158158
endif()
159159

160-
if(TARGET IE::ie_cpu_extension)
161-
add_definitions(-DWITH_EXTENSIONS)
162-
endif()
163-
164160
# Create named folders for the sources within the .vcproj
165161
# Empty name lists them directly under the .vcproj
166-
source_group("src" FILES ${IE_SAMPLES_SOURCES})
167-
if(IE_SAMPLES_HEADERS)
168-
source_group("include" FILES ${IE_SAMPLES_HEADERS})
162+
source_group("src" FILES ${IE_SAMPLE_SOURCES})
163+
if(IE_SAMPLE_HEADERS)
164+
source_group("include" FILES ${IE_SAMPLE_HEADERS})
169165
endif()
170166

171167
# Create executable file from sources
172-
add_executable(${IE_SAMPLE_NAME} ${IE_SAMPLE_SOURCES} ${IE_SAMPLES_HEADERS})
168+
add_executable(${IE_SAMPLE_NAME} ${IE_SAMPLE_SOURCES} ${IE_SAMPLE_HEADERS})
173169

174170
if(WIN32)
175171
set_target_properties(${IE_SAMPLE_NAME} PROPERTIES COMPILE_PDB_NAME ${IE_SAMPLE_NAME})
@@ -180,10 +176,6 @@ macro(ie_add_sample)
180176
endif()
181177
target_include_directories(${IE_SAMPLE_NAME} PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../common")
182178

183-
if(TARGET IE::ie_cpu_extension)
184-
target_link_libraries(${IE_SAMPLE_NAME} PRIVATE IE::ie_cpu_extension)
185-
endif()
186-
187179
target_link_libraries(${IE_SAMPLE_NAME} PRIVATE ${OpenCV_LIBRARIES} ${InferenceEngine_LIBRARIES}
188180
${IE_SAMPLE_DEPENDENCIES} gflags)
189181

@@ -213,6 +205,8 @@ else()
213205
find_package(InferenceEngine 2.0 REQUIRED)
214206
endif()
215207

208+
find_package(ngraph REQUIRED)
209+
216210
# collect all samples subdirectories
217211
file(GLOB samples_dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *)
218212
# skip building of unnecessary subdirectories

0 commit comments

Comments
 (0)