Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
3386309
Merge pull request #1924 from openvinotoolkit/release
Dec 16, 2020
9ca5dbe
Merge pull request #2238 from openvinotoolkit/release
Mar 26, 2021
e37a163
Merge pull request #2557 from openvinotoolkit/release
Wovchena Jun 29, 2021
a9b8216
ci: bump OpenVINO version
Wovchena Jul 5, 2021
b1ff98b
Merge pull request #2570 from Wovchena/ci-bump-OpenVINO-version
Wovchena Jul 5, 2021
cfbbbb1
Add monodepth_demo
eizamaliev Jul 27, 2021
3355195
Fix
eizamaliev Sep 9, 2021
b4e55fd
Update tests
eizamaliev Sep 9, 2021
cdd8793
Add suggestions
eizamaliev Sep 9, 2021
5b14fd2
Apply suggestions from code review
eizamaliev Sep 9, 2021
f97e6e2
Merge pull request #2749 from openvinotoolkit/release
Wovchena Sep 10, 2021
9e3a481
Use strict major version v0.24 for scikit-learn due to py3.6 support …
DmitryGrayscale Sep 16, 2021
4fa7a19
AC: port important bugfixes to release (#2763)
eaidova Sep 20, 2021
c9a6bad
Update demos/common/python/models/monodepth.py
anzhella-pankratova Sep 21, 2021
793c191
update documentation for retinanet-tf (#2769) (#2771)
Sep 21, 2021
4369e2c
Merge remote-tracking branch 'b/develop' into HEAD
anzhella-pankratova Sep 22, 2021
d65dbc1
Move monodepth.py to openvino/model_zoo/model_api/
anzhella-pankratova Sep 22, 2021
2b88fa7
Update tests for pedestrian_tracker_demo
anzhella-pankratova Sep 28, 2021
3449c18
Update demos/tests/cases.py
anzhella-pankratova Sep 28, 2021
59f3dc1
Fix: str -> ModelArg
anzhella-pankratova Sep 28, 2021
f462f63
Merge pull request #2788 from anzhella-pankratova/fix_tests_pedestria…
Wovchena Sep 28, 2021
dd751c9
Fixed pylint(2.10.2) errors in AC files (#2789)
Sep 28, 2021
e73d0fa
Raw comparison for reference (#2785)
Sep 29, 2021
444c362
Model Quantizer: update pot import (#2790)
Sep 29, 2021
8884683
AC: port some missed bugfixes to new layout (#2791)
eaidova Sep 29, 2021
b6d4377
Merge pull request #2742 from eizamaliev/monodepth_model_api
Wovchena Sep 30, 2021
281a3c1
demos/tests: resurect missing tests
Wovchena Sep 30, 2021
55054af
AC: fix action detection adapter (#2793)
eaidova Sep 30, 2021
1d4b80e
ci: change parrent
Wovchena Sep 30, 2021
70a26b8
Merge pull request #2796 from Wovchena/cichangeparrent
Wovchena Sep 30, 2021
958277b
Merge pull request #2794 from Wovchena/demostestsresurectmissingtests
Wovchena Sep 30, 2021
b7c8353
AC: solve device selection if several devices available (#2795)
eaidova Sep 30, 2021
94d9d2f
Replace deprecated warn -> warning
anzhella-pankratova Oct 1, 2021
e9c9262
gtp2_text_prediction_demo documentation fix
anzhella-pankratova Oct 1, 2021
b976a5f
Fix test cases for face_recognition_demo
anzhella-pankratova Oct 1, 2021
46f2bc7
Delete unused labels files
anzhella-pankratova Oct 1, 2021
91cfc44
update paths to mo and pot
Oct 1, 2021
354ce9c
AC: support sentence similarity benchmarking (#2797)
eaidova Oct 4, 2021
7efab2d
Move set_inputs_preprocessing() to ImageModel
anzhella-pankratova Oct 4, 2021
f18155d
AC: support reading npz data for speech regression pipeline (#2798)
eaidova Oct 4, 2021
0e496ac
AC: update convert for STS-B (#2800)
eaidova Oct 4, 2021
875c6a0
Update path to the labels in whiteboard_inpainting_demo
anzhella-pankratova Oct 4, 2021
3248d9a
Inherit CTPN and YOLOX from DetectionModel
anzhella-pankratova Oct 4, 2021
4d621ef
Update Deblurring class
anzhella-pankratova Oct 4, 2021
e77cf2f
Merge pull request #2801 from anzhella-pankratova/python_small_fixes
Wovchena Oct 4, 2021
be740a3
[Tests] Set precisions for model testing via --precisions parameter (…
anzhella-pankratova Oct 4, 2021
8fd2882
Added mxnet==1.2.0 to requirements-conversion.txt for Demos Windows 1…
vladimir-dudnik Oct 5, 2021
18df138
lload mo and pot from entrypoints
Oct 5, 2021
9296a37
Added mxnet==1.2.0 to requirements-conversion.txt for Demos Windows 1…
Wovchena Oct 5, 2021
5d09d8d
model docs: fix info about output format for bin models (#2806)
eaidova Oct 5, 2021
1b59d4a
G-API. Face detection MTCNN demo. (#2657)
Oct 5, 2021
d29de40
AC: remove allmentions about FPGA (#2807)
eaidova Oct 6, 2021
581d582
update README, use shutil
Oct 6, 2021
742d5b6
Merge pull request #2804 from jkamelin/jk/new_irc_structure
Wovchena Oct 6, 2021
fd1d26a
AC: skip G-API launcher tests if opencv without OV (#2808)
eaidova Oct 6, 2021
5cb2fc0
Push public models
Wovchena Sep 30, 2021
0deed7a
Merge pull request #2792 from Wovchena/pushasubestofpublicmodels
Wovchena Oct 6, 2021
66b481d
Added 98 landmarks detection net. Added script to accuracy checker fo…
ygnn123 Oct 6, 2021
13a67b6
Merge remote-tracking branch 'upstream/release' into merge-release-in…
Wovchena Oct 6, 2021
ba97889
AC support for jpeg artifacts removal models (#2812)
Oct 7, 2021
b7c1f96
extend test cases for VPU (#2810)
vladimir-dudnik Oct 7, 2021
3ea9cd5
Merge pull request #2811 from Wovchena/merge-release-into-develop
Wovchena Oct 8, 2021
c69827a
fix for speech noise suppression doc (#2820)
vladimir-dudnik Oct 13, 2021
06d8225
AC: support custom asr model (#2822)
eaidova Oct 13, 2021
86a7cda
AC: update sklearn (#2821)
eaidova Oct 13, 2021
90a57c0
AC: support metric refs extraction (#2823)
eaidova Oct 14, 2021
c5e6a40
Fix typo (#2825)
SDxKeeper Oct 14, 2021
e389469
AC: make padding configurable for squad dataset (#2826)
eaidova Oct 14, 2021
2e63d36
AC: support target backend filtering (#2828)
eaidova Oct 14, 2021
6c97fdc
models-dir run_tests.py argument (#2818)
dkustikx Oct 14, 2021
c656393
AC configs: fix typo for references (#2829)
eaidova Oct 15, 2021
17e0cf1
Fixed unregistered converter for facial-landmarks-98-detection-0001 (…
Oct 18, 2021
8fff1a5
Refactoring custom evaluators (#2827)
Oct 20, 2021
09970f5
Update list of supported models for object detection C++ demo (#2836)
Oct 20, 2021
799d109
Fixed SuperResolutionFeedbackEvaluator (#2838)
Oct 21, 2021
46a9595
Update demos gifs with new statistic, reduce gifs size (#2833)
anzhella-pankratova Oct 24, 2021
689644a
Added path extending via pkgutil for openvino/tools in accuracy_check…
Oct 26, 2021
b973f9e
add tid (#2842)
Oct 26, 2021
34ceca6
AC: Fixed adapter type setting in custom evaluators (#2841)
Oct 26, 2021
79b3f67
yaml.load -> yaml.safe_load
Wovchena Oct 27, 2021
03a390d
Added yolo-v3 and yolo-v3-tiny ONNX models (#2755)
Oct 27, 2021
8aa62ca
Merge pull request #2846 from Wovchena/yaml.load-yaml.safe_load
Wovchena Oct 27, 2021
1dd8bbf
quartznet-15x5-en/model.py: use safe load through YAML = YAML(typ='sa…
Wovchena Oct 28, 2021
7057cea
yolo-v4-tiny-tf now work on MyriadX (#2849)
vladimir-dudnik Oct 28, 2021
884afe2
yaml.load -> yaml.safe_load
Wovchena Oct 28, 2021
59ff55d
Merge pull request #2850 from Wovchena/yaml.load-yaml.safe_load
Wovchena Oct 28, 2021
045eaa1
AC: fix threshold for coco metrics (#2851)
eaidova Oct 29, 2021
a25a1d2
Fixed data layout for COCO dataset (#2839)
Oct 29, 2021
661d740
debug pickle loading (#2852)
eaidova Nov 1, 2021
c7ab5ff
AC: fix coco orig metrics (#2856)
eaidova Nov 1, 2021
913ce4c
AC: fix number fields for Amazon dataset (#2857)
eaidova Nov 1, 2021
c414675
AC: prevent devision by zero in wer metrics (#2858)
eaidova Nov 1, 2021
3d48492
AC: allow disabling comparing with ref (#2859)
eaidova Nov 1, 2021
e95f025
Add FBCNN jpeg artifact removal model (#2814)
Nov 1, 2021
c75783d
Add scipy to requirements of modelAPI (#2854)
Nov 1, 2021
e12cff7
AC: fix segment_ids for tokenized text (#2861)
eaidova Nov 2, 2021
9a75b3c
AC fix padding for squad dataset (#2865)
eaidova Nov 2, 2021
70a28d6
AC: update instance segmentation profiling (#2862)
eaidova Nov 2, 2021
7d2b989
Demo docs: update link on openvino docs (#2860)
eaidova Nov 2, 2021
f672dc5
update sha384
Oct 7, 2021
caa8f62
update hashes
Oct 15, 2021
b5fec65
update CONTRIBUTING.md
Oct 15, 2021
57eef1b
hashes for new models
Nov 3, 2021
2d46b15
AC: fix usage glob for kaldi feats (#2867)
eaidova Nov 3, 2021
8ecf6b1
AC: support labels shift for greedy search decoding (#2869)
eaidova Nov 3, 2021
29b52e7
models/public/drn-d-38/model.yml: update google_drive id
Wovchena Nov 3, 2021
8b25f77
demos/cpp: align gflags with openvino (#2855)
Wovchena Nov 3, 2021
2752996
AC: update BLEU metric support persample calculation (#2871)
eaidova Nov 3, 2021
6240971
demos/cpp/detection_model_yolo: use ngraph's alias
Wovchena Nov 8, 2021
e6a084d
Merge pull request #2873 from Wovchena/demos/cpp/detection_model_yolo…
Wovchena Nov 8, 2021
7ff3e3e
AC: support word embeddings similarity (#2874)
eaidova Nov 8, 2021
65ee523
demos: enable a custom build output folder
Wovchena Nov 10, 2021
896e5be
AC: fix instance segmentation profiling for not matched (#2879)
eaidova Nov 11, 2021
8ba9772
Merge pull request #2877 from Wovchena/build_scripts
Wovchena Nov 11, 2021
8140ef8
Merge remote-tracking branch 'upstream/develop' into models/public/dr…
Wovchena Nov 11, 2021
8caf0e7
Merge pull request #2870 from Wovchena/models/public/drn-d-38/model.y…
Wovchena Nov 11, 2021
c77eae2
Merge remote-tracking branch 'upstream/develop' into HEAD
Wovchena Nov 11, 2021
9fbb029
AC: update segmentation profiling (#2881)
eaidova Nov 11, 2021
e31e8e3
AC: support speaker reidentification (#2878)
eaidova Nov 11, 2021
1a48e6d
Merge pull request #2830 from jkamelin/jk/sha384
Wovchena Nov 11, 2021
42df89b
AC: fix getting polygons in profiling (#2882)
eaidova Nov 12, 2021
b45d1ac
AC: move masks to per class results (#2883)
eaidova Nov 12, 2021
5a6dc92
rx check
Nov 1, 2021
e303116
update schema
Nov 3, 2021
f8d6ca0
add requirements
Nov 3, 2021
513705c
update setup.cfg
Nov 3, 2021
47295f6
update to sha384
Nov 15, 2021
67957ce
AC: support explicit specifing undefined shapes in config (#2887)
eaidova Nov 15, 2021
3c9bf72
IFD refactoring + common stream source
Aug 5, 2021
154ceaf
Applying comments and aligning with OMZ demos
Nov 15, 2021
2d0760c
Removed extra file from ifd (mmissed mtriics unificatton part)
Nov 15, 2021
b45cd2f
Merge pull request #2868 from jkamelin/jk/yaml_validation
Wovchena Nov 15, 2021
2c3f08d
AC: deprocess prediction in profiling mode (#2884)
eaidova Nov 15, 2021
45f34f6
Merge pull request #2778 from mpashchenkov/mp/ifd-ss
Wovchena Nov 15, 2021
47240d1
OMZ demo add check for minimal OpenCV version (#2888)
ilya-lavrenov Nov 16, 2021
ce16e5c
human_pose_estimation_3d doc (#2840)
vladimir-dudnik Nov 16, 2021
a68a42e
AC: fix quantization evaluator without adapter (#2889)
eaidova Nov 16, 2021
6cbcdb2
add tr 0016 model
morkovka1337 Nov 16, 2021
1014d33
fix model name
morkovka1337 Nov 16, 2021
07f53b5
add tr 0016 to index
morkovka1337 Nov 16, 2021
b317ec9
update demo readme
morkovka1337 Nov 16, 2021
4c8c56e
add tests
morkovka1337 Nov 16, 2021
e8b37d5
update calls of mo and pot executables (#2890)
Nov 16, 2021
6d87874
Returned include
Nov 16, 2021
e2cdcaf
Merge pull request #2892 from mpashchenkov/mp/one-more-include
Wovchena Nov 16, 2021
6e760a6
remove comment, add #TODO mark
Nov 17, 2021
56bf04a
add more todos
Nov 17, 2021
90b1d45
comment test case
Nov 17, 2021
da90ded
G-API: Aligning test cases for g-api demos. (#2896)
Nov 17, 2021
9e41216
change task type for 0016 model
Nov 17, 2021
234fe9b
change task type for tr 0015
Nov 17, 2021
569ab2f
Apply suggestions from code review
Nov 17, 2021
d80a8b0
upd readme
Nov 17, 2021
bffc0dd
Merge branch 'feature/vl/support_tr_0016' of https://github.com/openv…
Nov 17, 2021
6b2f68e
add details about decoder output
Nov 17, 2021
0d7aeac
Merge pull request #2897 from openvinotoolkit/release
Wovchena Nov 17, 2021
f22498f
Merge pull request #2891 from openvinotoolkit/feature/vl/support_tr_0016
Wovchena Nov 17, 2021
a17cb30
demos/image_retrieval: update link to gallery.txt
Wovchena Nov 17, 2021
ef53fec
Merge pull request #2901 from Wovchena/demos/image_retrieval-update-l…
Wovchena Nov 18, 2021
091b79a
AC: fix initial reshape for dynamic inputs case (#2902)
eaidova Nov 18, 2021
9d508f1
face-detection-adas-0001 interactive_face_detection_demo (#2903)
dkustikx Nov 18, 2021
ac8c2fe
Introduce FrameworkAdapter (#2844)
anzhella-pankratova Nov 18, 2021
60e560a
AC: support label map from datumaro (#2904)
eaidova Nov 18, 2021
082858a
Merge branch 'develop' into change-branching-strategy
Wovchena Nov 18, 2021
324b4cc
Merge pull request #2905 from Wovchena/change-branching-strategy
Wovchena Nov 18, 2021
298a1a6
CONTRIBUTING.md: develop->master
Wovchena Nov 18, 2021
0283008
Merge pull request #2906 from Wovchena/CONTRIBUTING.md-develop-master
Wovchena Nov 18, 2021
4d3fc84
Fixed max_ind_range configuration in criteo converter (#2908)
Nov 19, 2021
e14d01e
model_tools: update installation section (#2863)
Nov 20, 2021
146a73b
correct output format for classification models (#2910)
vladimir-dudnik Nov 21, 2021
8441861
AC: support openvino 2.0 launcher (#2898)
eaidova Nov 22, 2021
1aefc46
Gesture recognition demo
Jul 7, 2021
92ee330
Added lost move
Nov 26, 2021
e1f4c5a
Changed rights
Nov 26, 2021
ee08b01
Applying comments
Dec 1, 2021
b74d285
Applying comments + added check for negative value of source
Dec 1, 2021
6926cf6
Removed extra cast
Dec 1, 2021
bb5407a
Wrapped time_step
Dec 1, 2021
fe7fc7c
Applying comments, added dropping batch info, fixed bug, reduced memo…
Dec 16, 2021
b7fd126
Warnings
Dec 16, 2021
c290e15
Removed mistake
Dec 23, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "demos/thirdparty/gflags"]
path = demos/thirdparty/gflags
url = https://github.com/gflags/gflags/
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Open Model Zoo also supports models already in the ONNX format.

## Pull Request Requirements

To contribute to OMZ, create a pull request (PR) in this repository using the `develop` branch.
To contribute to OMZ, create a pull request (PR) in this repository using the `master` branch.
Pull requests are strictly formalized and are reviewed by the OMZ maintainers for consistence and legal compliance.

Each PR contributing a model must contain:
Expand Down Expand Up @@ -86,10 +86,10 @@ Downloadable files. Each file is described by:

* `name` - sets a file name after downloading
* `size` - sets a file size
* `sha256` - sets a file hash sum
* `sha384` - sets a file hash sum
* `source` - sets a direct link to a file *OR* describes a file access parameters

> **TIP**: You can obtain a hash sum using the `sha256sum <file_name>` command on Linux\*.
> **TIP**: You can obtain a hash sum using the `sha384sum <file_name>` command on Linux\*.

If file is located on Google Drive\*, the `source` section must contain:
- `$type: google_drive`
Expand Down Expand Up @@ -155,7 +155,7 @@ task_type: classification
files:
- name: tf-densenet121.tar.gz
size: 30597420
sha256: b31ec840358f1d20e1c6364d05ce463cb0bc0480042e663ad54547189501852d
sha384: dcd6d36f6b07e0843ee35b1dce2c587204c8816d6ba25b7e1dbf2dc25fe2b51f49a2b9327579ce07904575f9325be8b6
source:
$type: google_drive
id: 0B_fUSpodN0t0eW1sVk1aeWREaDA
Expand Down
2 changes: 1 addition & 1 deletion ci/documentation_updater/documentation_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def get_models_from_configs(directory):
model_configs = directory.glob('**/model.yml')
for model in model_configs:
with model.open("r", encoding="utf-8") as file:
models[model.parent.name] = (model, yaml.load(file))
models[model.parent.name] = (model, yaml.safe_load(file))
if not models[model.parent.name][1]:
logging.error("File {} is empty. It will be ignored.".format(model))
del models[model.parent.name]
Expand Down
12 changes: 6 additions & 6 deletions ci/prepare-openvino-content.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def file_is_in_current_package(path):
# copy appropriate files to each component

for component_name, component_files in files_per_component.items():
component_output_dir = args.output_dir / component_name / 'deployment_tools/open_model_zoo'
component_output_dir = args.output_dir / component_name / 'extras/open_model_zoo'
component_output_dir.mkdir(parents=True, exist_ok=True)

subprocess.run(
Expand All @@ -109,18 +109,18 @@ def file_is_in_current_package(path):
['git', '-C', str(OMZ_ROOT), 'rev-parse', 'HEAD'])
omz_commit = rev_parse_output.decode().rstrip('\n')

version_txt_path = args.output_dir / 'tools/deployment_tools/open_model_zoo/version.txt'
version_txt_path = args.output_dir / 'tools/extras/open_model_zoo/version.txt'

with open(version_txt_path, 'w', newline=eol_chars) as version_txt_file:
print(omz_commit, file=version_txt_file)

# create compatibility symlinks

compat_symlinks = [
('deployment_tools/intel_models', 'open_model_zoo/models/intel'),
('deployment_tools/open_model_zoo/intel_models', 'models/intel'),
('deployment_tools/tools/model_downloader', '../open_model_zoo/tools/model_tools'),
('deployment_tools/inference_engine/demos', '../open_model_zoo/demos'),
('extras/intel_models', 'open_model_zoo/models/intel'),
('extras/open_model_zoo/intel_models', 'models/intel'),
('extras/tools/model_downloader', '../open_model_zoo/tools/model_tools'),
('extras/inference_engine/demos', '../open_model_zoo/demos'),
]

for link_source, link_target in compat_symlinks:
Expand Down
2 changes: 2 additions & 0 deletions ci/requirements-downloader.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ charset-normalizer==2.0.4
# via requests
idna==3.2
# via requests
pyrx==0.3.0
# via -r tools/model_tools/requirements.in
pyyaml==5.4.1
# via -r tools/model_tools/requirements.in
requests==2.26.0
Expand Down
49 changes: 34 additions & 15 deletions data/dataset_definitions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ datasets:
- name: ms_coco_mask_rcnn
annotation_conversion:
converter: mscoco_mask_rcnn
annotation_file: instances_val2017.json
annotation_file: annotations/instances_val2017.json
has_background: True
sort_annotations: True
annotation: mscoco_mask_rcnn.pickle
Expand All @@ -12,7 +12,7 @@ datasets:
- name: ms_coco_mask_rcnn_short_80_classes
annotation_conversion:
converter: mscoco_mask_rcnn
annotation_file: instances_val2017_short.json
annotation_file: annotations/instances_val2017_short.json
has_background: True
sort_annotations: True
annotation: mscoco_mask_rcnn_short_80.pickle
Expand All @@ -22,7 +22,7 @@ datasets:
- name: ms_coco_mask_rcnn_short_80_classes_without_background
annotation_conversion:
converter: mscoco_mask_rcnn
annotation_file: instances_val2017.json
annotation_file: annotations/instances_val2017.json
has_background: False
sort_annotations: True
annotation: mscoco_mask_rcnn_short_80_without_bkgr.pickle
Expand All @@ -32,7 +32,7 @@ datasets:
- name: ms_coco_mask_rcnn_short_91_classes
annotation_conversion:
converter: mscoco_mask_rcnn
annotation_file: instances_val2017_short.json
annotation_file: annotations/instances_val2017_short.json
has_background: True
sort_annotations: True
use_full_label_map: True
Expand All @@ -57,7 +57,7 @@ datasets:
- name: ms_coco_detection_91_classes
annotation_conversion:
converter: mscoco_detection
annotation_file: instances_val2017.json
annotation_file: annotations/instances_val2017.json
has_background: True
sort_annotations: True
use_full_label_map: True
Expand All @@ -83,7 +83,7 @@ datasets:
data_source: val2017
annotation_conversion:
converter: mscoco_detection
annotation_file: instances_val2017.json
annotation_file: annotations/instances_val2017.json
has_background: False
sort_annotations: True
use_full_label_map: False
Expand All @@ -94,18 +94,18 @@ datasets:
data_source: val2017
annotation_conversion:
converter: mscoco_detection
annotation_file: instances_val2017.json
annotation_file: annotations/instances_val2017.json
has_background: True
sort_annotations: True
use_full_label_map: False
annotation: mscoco_det_80_bkgr.pickle
dataset_meta: mscoco_det_80_bkgr.json

- name: ms_coco_detection_90_class_without_background
data_source: MSCOCO/val2017
data_source: val2017
annotation_conversion:
converter: mscoco_detection
annotation_file: MSCOCO/annotations/instances_val2017.json
annotation_file: annotations/instances_val2017.json
has_background: False
sort_annotations: True
use_full_label_map: True
Expand All @@ -116,7 +116,7 @@ datasets:
data_source: val2017
annotation_conversion:
converter: mscoco_keypoints
annotation_file: person_keypoints_val2017.json
annotation_file: annotations/person_keypoints_val2017.json
sort_key: image_size
annotation: mscoco_keypoints.pickle
dataset_meta: mscoco_keypoints.json
Expand All @@ -129,7 +129,7 @@ datasets:
data_source: val2017
annotation_conversion:
converter: mscoco_keypoints
annotation_file: person_keypoints_val2017.json
annotation_file: annotations/person_keypoints_val2017.json
remove_empty_images: True
sort_annotations: True
sort_key: image_size
Expand All @@ -144,7 +144,7 @@ datasets:
data_source: val2017
annotation_conversion:
converter: mscoco_keypoints
annotation_file: person_keypoints_val2017.json
annotation_file: annotations/person_keypoints_val2017.json
remove_empty_images: False
sort_annotations: True
sort_key: image_size
Expand Down Expand Up @@ -289,6 +289,17 @@ datasets:
postprocessing:
- type: normalize_landmarks_points

- name: facial_landmarks_98_db
data_source: 98_landmarks
annotation_conversion:
converter: coco_facial_landmarks
annotation_file: 98_landmarks/lms_test.json
preprocessing:
- type: resize
size: 64
postprocessing:
- type: normalize_landmarks_points

- name: emotions_recognition
data_source: VOCdevkit/VOC2012/JPEGImages
annotation_conversion:
Expand Down Expand Up @@ -388,7 +399,7 @@ datasets:
data_source: val2017
annotation_conversion:
converter: mscoco_detection
annotation_file: person_keypoints_val2017.json
annotation_file: annotations/person_keypoints_val2017.json
has_background: True
sort_annotations: True
use_full_label_map: True
Expand All @@ -399,7 +410,7 @@ datasets:
data_source: val2017
annotation_conversion:
converter: mscoco_detection
annotation_file: person_keypoints_val2017.json
annotation_file: annotations/person_keypoints_val2017.json
has_background: True
sort_annotations: True
use_full_label_map: True
Expand Down Expand Up @@ -946,7 +957,7 @@ datasets:
data_source: val2017
annotation_conversion:
converter: mscoco_single_keypoints
annotation_file: person_keypoints_val2017.json
annotation_file: annotations/person_keypoints_val2017.json
annotation: mscoco_single_keypoints.pickle
dataset_meta: mscoco_single_keypoints.json
metrics:
Expand Down Expand Up @@ -1399,3 +1410,11 @@ datasets:
data_dir: wavernn_io/rnn
input_suffix: in
reference_suffix: out

- name: LIVE_1
data_source: LIVE_1
annotation_conversion:
converter: image_processing
data_dir: LIVE_1
input_suffix: .bmp
target_suffix: .bmp
5 changes: 3 additions & 2 deletions data/datasets.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ To download COCO dataset, you need to follow the steps below:
To use this dataset with OMZ tools, make sure `<DATASET_DIR>` contains the following:

* `val2017` - directory containing the COCO 2017 validation images
* `instances_val2017.json` - annotation file which used for object detection and instance segmentation tasks
* `person_keypoints_val2017.json` - annotation file which used for human pose estimation tasks
* `annotations` - directory containing the COCO 2017 annotation files
* `instances_val2017.json` - annotation file which used for object detection and instance segmentation tasks
* `person_keypoints_val2017.json` - annotation file which used for human pose estimation tasks

### Datasets in dataset_definitions.yml
* `ms_coco_mask_rcnn` used for evaluation models trained on COCO dataset for object detection and instance segmentation tasks. Background label + label map with 80 public available object categories are used. Annotations are saved in order of ascending image ID.
Expand Down
2 changes: 1 addition & 1 deletion demos/3d_segmentation_demo/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This topic demonstrates how to run the 3D Segmentation Demo, which segments 3D i

On startup, the demo reads command-line parameters and loads a network and images to the Inference Engine plugin.

> **NOTE**: By default, Open Model Zoo demos expect input with BGR channels order. If you trained your model to work with RGB order, you need to manually rearrange the default channels order in the demo application or reconvert your model using the Model Optimizer tool with the `--reverse_input_channels` argument specified. For more information about the argument, refer to **When to Reverse Input Channels** section of [Converting a Model Using General Conversion Parameters](https://docs.openvinotoolkit.org/latest/_docs_MO_DG_prepare_model_convert_model_Converting_Model_General.html).
> **NOTE**: By default, Open Model Zoo demos expect input with BGR channels order. If you trained your model to work with RGB order, you need to manually rearrange the default channels order in the demo application or reconvert your model using the Model Optimizer tool with the `--reverse_input_channels` argument specified. For more information about the argument, refer to **When to Reverse Input Channels** section of [Converting a Model Using General Conversion Parameters](https://docs.openvino.ai/latest/openvino_docs_MO_DG_prepare_model_convert_model_Converting_Model.html#general-conversion-parameters).

## Preparing to Run

Expand Down
39 changes: 23 additions & 16 deletions demos/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

function(add_samples_to_build)
# check each passed sample subdirectory
function(add_demos_to_build)
# check each passed demo subdirectory
foreach(dir ${ARGN})
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${dir})
# check if a subdirectory contains CMakeLists.txt. In this case we can build it.
file(GLOB sub_dirs ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/*)
foreach(sub_dir ${sub_dirs})
if(EXISTS "${sub_dir}/CMakeLists.txt")
# check if specified sample/demo is found.
# check if specified demo is found.
if(BUILD_SAMPLE_NAME)
list(FIND BUILD_SAMPLE_NAME ${dir} index)
endif()
Expand All @@ -103,36 +103,42 @@ include(CMakeParseArguments)
# SOURCES <source files>
# [HEADERS <header files>]
# [INCLUDE_DIRECTORIES <include dir>]
# [OPENCV_VERSION_REQUIRED <X.Y.Z>]
# [DEPENDENCIES <dependencies>])
macro(add_demo)
set(oneValueArgs NAME)
set(oneValueArgs NAME OPENCV_VERSION_REQUIRED)
set(multiValueArgs SOURCES HEADERS DEPENDENCIES INCLUDE_DIRECTORIES)
cmake_parse_arguments(IE_SAMPLE "${options}" "${oneValueArgs}"
cmake_parse_arguments(OMZ_DEMO "${options}" "${oneValueArgs}"
"${multiValueArgs}" ${ARGN})

if(OMZ_DEMO_OPENCV_VERSION_REQUIRED AND OpenCV_VERSION VERSION_LESS OMZ_DEMO_OPENCV_VERSION_REQUIRED)
message(WARNING "${OMZ_DEMO_NAME} is disabled; required OpenCV version ${OMZ_DEMO_OPENCV_VERSION_REQUIRED}, provided ${OpenCV_VERSION}")
return()
endif()

# Create named folders for the sources within the .vcproj
# Empty name lists them directly under the .vcproj
source_group("src" FILES ${IE_SAMPLE_SOURCES})
if(IE_SAMPLE_HEADERS)
source_group("include" FILES ${IE_SAMPLE_HEADERS})
source_group("src" FILES ${OMZ_DEMO_SOURCES})
if(OMZ_DEMO_HEADERS)
source_group("include" FILES ${OMZ_DEMO_HEADERS})
endif()

# Create executable file from sources
add_executable(${IE_SAMPLE_NAME} ${IE_SAMPLE_SOURCES} ${IE_SAMPLE_HEADERS})
add_executable(${OMZ_DEMO_NAME} ${OMZ_DEMO_SOURCES} ${OMZ_DEMO_HEADERS})

if(WIN32)
set_target_properties(${IE_SAMPLE_NAME} PROPERTIES COMPILE_PDB_NAME ${IE_SAMPLE_NAME})
set_target_properties(${OMZ_DEMO_NAME} PROPERTIES COMPILE_PDB_NAME ${OMZ_DEMO_NAME})
endif()

if(IE_SAMPLE_INCLUDE_DIRECTORIES)
target_include_directories(${IE_SAMPLE_NAME} PRIVATE ${IE_SAMPLE_INCLUDE_DIRECTORIES})
if(OMZ_DEMO_INCLUDE_DIRECTORIES)
target_include_directories(${OMZ_DEMO_NAME} PRIVATE ${OMZ_DEMO_INCLUDE_DIRECTORIES})
endif()

target_link_libraries(${IE_SAMPLE_NAME} PRIVATE ${OpenCV_LIBRARIES} ${InferenceEngine_LIBRARIES}
${IE_SAMPLE_DEPENDENCIES} ngraph::ngraph utils gflags)
target_link_libraries(${OMZ_DEMO_NAME} PRIVATE ${OpenCV_LIBRARIES} ${InferenceEngine_LIBRARIES}
${OMZ_DEMO_DEPENDENCIES} ngraph::ngraph utils gflags)

if(UNIX)
target_link_libraries(${IE_SAMPLE_NAME} PRIVATE pthread)
target_link_libraries(${OMZ_DEMO_NAME} PRIVATE pthread)
endif()
endmacro()

Expand All @@ -142,13 +148,14 @@ find_package(ngraph REQUIRED)

add_subdirectory(thirdparty/gflags)
add_subdirectory(common/cpp)
add_subdirectory(common/cpp_gapi)
add_subdirectory(multi_channel_common/cpp)

# collect all samples subdirectories
file(GLOB samples_dirs RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *)
# skip building of unnecessary subdirectories
list(REMOVE_ITEM samples_dirs common thirdparty multi_channel_common)
add_samples_to_build(${samples_dirs})
add_demos_to_build(${samples_dirs})

if(ENABLE_PYTHON)
find_package(PythonInterp 3.6 REQUIRED)
Expand Down
Loading