Skip to content

Commit 8899b41

Browse files
authored
Merge branch 'openvinotoolkit:master' into master
2 parents 7862ab4 + 280b59f commit 8899b41

File tree

82 files changed

+1680
-455
lines changed

Some content is hidden

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

82 files changed

+1680
-455
lines changed

data/dataset_definitions.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,16 @@ datasets:
155155
- name: AP
156156
type: coco_orig_keypoints_precision
157157

158+
- name: COCO2017_mask_rcnn_person
159+
annotation_conversion:
160+
converter: mscoco_mask_rcnn
161+
annotation_file: instances_val2017_persons.json
162+
has_background: True
163+
sort_annotations: True
164+
annotation: mscoco_mask_rcnn_person.pickle
165+
dataset_meta: mscoco_mask_rcnn_person.json
166+
data_source: val2017
167+
158168
- name: imagenet_1000_classes
159169
annotation_conversion:
160170
converter: imagenet

demos/classification_demo/python/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ omz_converter --list models.lst
5050
* efficientnet-b5-pytorch
5151
* efficientnet-b7_auto_aug
5252
* efficientnet-b7-pytorch
53+
* efficientnet-v2-b0
54+
* efficientnet-v2-s
5355
* googlenet-v1
5456
* googlenet-v1-tf
5557
* googlenet-v2

demos/classification_demo/python/models.lst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ efficientnet-b5
1818
efficientnet-b5-pytorch
1919
efficientnet-b7_auto_aug
2020
efficientnet-b7-pytorch
21+
efficientnet-v2-b0
22+
efficientnet-v2-s
2123
googlenet-v1
2224
googlenet-v1-tf
2325
googlenet-v2

demos/handwritten_text_recognition_demo/python/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,10 @@ Options:
7777
Optional. Top k steps in looking up the decoded
7878
character, until a designated one is found
7979
-ob OUTPUT_BLOB, --output_blob OUTPUT_BLOB
80-
Optional. Name of the output layer of the model. Default is 'output'
80+
Optional. Name of the output layer of the model.
81+
Default is None, in which case the demo will read
82+
the output name from the model, assuming there is
83+
only 1 output layer
8184
```
8285

8386
The decoding char list files provided within Open Model Zoo and for Japanese it is the `<omz_dir>/data/dataset_classes/kondate_nakayosi.txt` file, while for Simplified Chinese it is the `<omz_dir>/data/dataset_classes/scut_ept.txt` file, and for English it is the `<omz_dir>/data/dataset_classes/gnhk.txt` file. For example, to do inference on a CPU with the OpenVINO&trade; toolkit pre-trained `handwritten-japanese-recognition-0001` model, run the following command:

demos/tests/run_tests.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,12 @@ def main():
191191
model_info_list = json.loads(subprocess.check_output(
192192
[sys.executable, '--', str(auto_tools_dir / 'info_dumper.py'), '--all'],
193193
universal_newlines=True))
194-
model_info = {model['name']: model for model in model_info_list}
194+
195+
model_info = {}
196+
for model_data in model_info_list:
197+
models_list = model_data['model_stages'] if model_data['model_stages'] else [model_data]
198+
for model in models_list:
199+
model_info[model['name']] = model
195200

196201
if args.demos is not None:
197202
names_of_demos_to_test = set(args.demos.split(','))
@@ -219,11 +224,14 @@ def main():
219224
print()
220225
demo.set_precisions(args.precisions, model_info)
221226

222-
declared_model_names = {model['name']
223-
for model in json.loads(subprocess.check_output(
227+
declared_model_names = set()
228+
for model_data in json.loads(subprocess.check_output(
224229
[sys.executable, '--', str(auto_tools_dir / 'info_dumper.py'),
225230
'--list', str(demo.models_lst_path(demos_dir))],
226-
universal_newlines=True))}
231+
universal_newlines=True)):
232+
models_list = model_data['model_stages'] if model_data['model_stages'] else [model_data]
233+
for model in models_list:
234+
declared_model_names.add(model['name'])
227235

228236
with temp_dir_as_path() as temp_dir:
229237
arg_context = ArgContext(
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1+
description: >-
2+
General-purpose action recognition model for Kinetics-400 dataset based on Video
3+
Transformer Network approach.
14
task_type: action_recognition
5+
framework: dldt
6+
license: https://raw.githubusercontent.com/openvinotoolkit/open_model_zoo/master/LICENSE

models/intel/device_support.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@
5353
| instance-segmentation-security-0228 | YES | | |
5454
| instance-segmentation-security-1039 | YES | | |
5555
| instance-segmentation-security-1040 | YES | | |
56+
| instance-segmentation-person-0007 | YES | | |
5657
| landmarks-regression-retail-0009 | YES | YES | YES |
5758
| license-plate-recognition-barrier-0001 | YES | YES | YES |
5859
| machine-translation-nar-de-en-0002 | YES | YES | |
5960
| machine-translation-nar-en-de-0002 | YES | YES | |
6061
| machine-translation-nar-en-ru-0001 | YES | YES | |
6162
| machine-translation-nar-ru-en-0001 | YES | YES | |
63+
| noise-suppression-denseunet-ll-0001 | YES | | |
6264
| noise-suppression-poconetlike-0001 | YES | | |
6365
| pedestrian-and-vehicle-detector-adas-0001 | YES | YES | YES |
6466
| pedestrian-detection-adas-0002 | YES | YES | YES |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
description: >-
2+
Video Transformer Network for driver action recognition.
13
task_type: action_recognition
4+
framework: dldt
5+
license: https://raw.githubusercontent.com/openvinotoolkit/open_model_zoo/master/LICENSE
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
description: >-
2+
Latex formula recognition model.
13
task_type: token_recognition
4+
framework: dldt
5+
license: https://raw.githubusercontent.com/openvinotoolkit/open_model_zoo/master/LICENSE
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
description: >-
2+
Latex formula recognition model.
13
task_type: token_recognition
4+
framework: dldt
5+
license: https://raw.githubusercontent.com/openvinotoolkit/open_model_zoo/master/LICENSE

0 commit comments

Comments
 (0)