Skip to content

Commit 0523957

Browse files
authored
Merge branch 'openvinotoolkit:master' into master
2 parents c9f79ab + cd2dfb3 commit 0523957

File tree

294 files changed

+2356
-352
lines changed

Some content is hidden

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

294 files changed

+2356
-352
lines changed

ci/dependencies.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
opencv_linux: '2022.1.0.dev20220131'
2-
opencv_windows: '2022.1.0.dev20220131'
3-
openvino_linux: '2022.1.0.dev20220131'
4-
openvino_windows: '2022.1.0.dev20220131'
5-
wheel_linux: '2022.1.0.dev20220131-6386'
6-
wheel_windows: '2022.1.0.dev20220131-6386'
1+
opencv_linux: '20220210_0636-4.5.5_043'
2+
opencv_windows: '20220210_0636-4.5.5_043'
3+
openvino_linux: '2022.1.0.577'
4+
openvino_windows: '2022.1.0.577'
5+
wheel_linux: '2022.1.0.dev20220209-6562'
6+
wheel_windows: '2022.1.0.dev20220209-6562'

demos/classification_benchmark_demo/cpp/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ omz_converter --list models.lst
4545
* googlenet-v1
4646
* googlenet-v1-tf
4747
* googlenet-v2
48+
* googlenet-v2-tf
4849
* googlenet-v3
4950
* googlenet-v3-pytorch
5051
* googlenet-v4-tf
@@ -59,6 +60,8 @@ omz_converter --list models.lst
5960
* mobilenet-v2-1.0-224
6061
* mobilenet-v2-1.4-224
6162
* mobilenet-v2-pytorch
63+
* mobilenet-v3-large-1.0-224-tf
64+
* mobilenet-v3-small-1.0-224-tf
6265
* nfnet-f0
6366
* octave-resnet-26-0.25
6467
* regnetx-3.2gf
@@ -67,6 +70,7 @@ omz_converter --list models.lst
6770
* repvgg-b3
6871
* resnest-50-pytorch
6972
* resnet-18-pytorch
73+
* resnet-34-pytorch
7074
* resnet-50-pytorch
7175
* resnet-50-tf
7276
* resnet18-xnor-binary-onnx-0001

demos/classification_benchmark_demo/cpp/models.lst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ efficientnet-b0-pytorch
99
googlenet-v1
1010
googlenet-v1-tf
1111
googlenet-v2
12+
googlenet-v2-tf
1213
googlenet-v3
1314
googlenet-v3-pytorch
1415
googlenet-v4-tf
@@ -23,6 +24,8 @@ mobilenet-v2
2324
mobilenet-v2-1.0-224
2425
mobilenet-v2-1.4-224
2526
mobilenet-v2-pytorch
27+
mobilenet-v3-large-1.0-224-tf
28+
mobilenet-v3-small-1.0-224-tf
2629
nfnet-f0
2730
octave-resnet-26-0.25
2831
regnetx-3.2gf
@@ -31,6 +34,7 @@ repvgg-b1
3134
repvgg-b3
3235
resnest-50-pytorch
3336
resnet-18-pytorch
37+
resnet-34-pytorch
3438
resnet-50-pytorch
3539
resnet-50-tf
3640
resnet18-xnor-binary-onnx-0001

demos/classification_demo/python/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ omz_converter --list models.lst
4343
* googlenet-v1
4444
* googlenet-v1-tf
4545
* googlenet-v2
46+
* googlenet-v2-tf
4647
* googlenet-v3
4748
* googlenet-v3-pytorch
4849
* googlenet-v4-tf
@@ -57,6 +58,8 @@ omz_converter --list models.lst
5758
* mobilenet-v2-1.0-224
5859
* mobilenet-v2-1.4-224
5960
* mobilenet-v2-pytorch
61+
* mobilenet-v3-large-1.0-224-tf
62+
* mobilenet-v3-small-1.0-224-tf
6063
* nfnet-f0
6164
* octave-resnet-26-0.25
6265
* regnetx-3.2gf
@@ -65,6 +68,7 @@ omz_converter --list models.lst
6568
* repvgg-b3
6669
* resnest-50-pytorch
6770
* resnet-18-pytorch
71+
* resnet-34-pytorch
6872
* resnet-50-pytorch
6973
* resnet-50-tf
7074
* resnet18-xnor-binary-onnx-0001

demos/classification_demo/python/models.lst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ efficientnet-v2-s
1111
googlenet-v1
1212
googlenet-v1-tf
1313
googlenet-v2
14+
googlenet-v2-tf
1415
googlenet-v3
1516
googlenet-v3-pytorch
1617
googlenet-v4-tf
@@ -25,6 +26,8 @@ mobilenet-v2
2526
mobilenet-v2-1.0-224
2627
mobilenet-v2-1.4-224
2728
mobilenet-v2-pytorch
29+
mobilenet-v3-large-1.0-224-tf
30+
mobilenet-v3-small-1.0-224-tf
2831
nfnet-f0
2932
octave-resnet-26-0.25
3033
regnetx-3.2gf
@@ -33,6 +36,7 @@ repvgg-b1
3336
repvgg-b3
3437
resnest-50-pytorch
3538
resnet-18-pytorch
39+
resnet-34-pytorch
3640
resnet-50-pytorch
3741
resnet-50-tf
3842
resnet18-xnor-binary-onnx-0001

demos/common/cpp/utils/include/utils/common.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -296,11 +296,11 @@ void logCompiledModelInfo(
296296
for (const auto& device : devices) {
297297
try {
298298
slog::info << "\tDevice: " << device << slog::endl;
299-
std::string nstreams = compiledModel.get_property(device + "_THROUGHPUT_STREAMS").as<std::string>();
299+
int32_t nstreams = compiledModel.get_property(ov::streams::num);
300300
slog::info << "\t\tNumber of streams: " << nstreams << slog::endl;
301301
if (device == "CPU") {
302-
std::string nthreads = compiledModel.get_property("CPU_THREADS_NUM").as<std::string>();
303-
slog::info << "\t\tNumber of threads: " << (nthreads == "0" ? "AUTO" : nthreads) << slog::endl;
302+
int32_t nthreads = compiledModel.get_property(ov::inference_num_threads);
303+
slog::info << "\t\tNumber of threads: " << (nthreads == 0 ? "AUTO" : std::to_string(nthreads)) << slog::endl;
304304
}
305305
}
306306
catch (const ov::Exception&) {}

demos/instance_segmentation_demo/python/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ omz_converter --list models.lst
5757

5858
### Supported Models
5959

60+
* instance-segmentation-person-0007
6061
* instance-segmentation-security-0002
6162
* instance-segmentation-security-0091
6263
* instance-segmentation-security-0228
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# This file can be used with the --list option of the model downloader.
2+
instance-segmentation-person-0007
23
instance-segmentation-security-????
34
yolact-resnet50-fpn-pytorch

demos/interactive_face_detection_demo/cpp/detectors.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ void AntispoofingClassifier::enqueue(const cv::Mat& face) {
207207
}
208208
ov::Tensor batch = request.get_input_tensor();
209209
batch.set_shape(inShape);
210-
resize2tensor(face, ov::Tensor{batch, {enquedFaces, 0, 0, 0}, {enquedFaces, inShape[1], inShape[2], inShape[3]}});
210+
resize2tensor(face, ov::Tensor{batch, {enquedFaces, 0, 0, 0}, {enquedFaces + 1, inShape[1], inShape[2], inShape[3]}});
211211
enquedFaces++;
212212
}
213213

@@ -259,7 +259,7 @@ void AgeGenderDetection::enqueue(const cv::Mat &face) {
259259
}
260260
ov::Tensor batch = request.get_input_tensor();
261261
batch.set_shape(inShape);
262-
resize2tensor(face, ov::Tensor{batch, {enquedFaces, 0, 0, 0}, {enquedFaces, inShape[1], inShape[2], inShape[3]}});
262+
resize2tensor(face, ov::Tensor{batch, {enquedFaces, 0, 0, 0}, {enquedFaces + 1, inShape[1], inShape[2], inShape[3]}});
263263
enquedFaces++;
264264
}
265265

@@ -317,7 +317,7 @@ void HeadPoseDetection::enqueue(const cv::Mat &face) {
317317
}
318318
ov::Tensor batch = request.get_input_tensor();
319319
batch.set_shape(inShape);
320-
resize2tensor(face, ov::Tensor{batch, {enquedFaces, 0, 0, 0}, {enquedFaces, inShape[1], inShape[2], inShape[3]}});
320+
resize2tensor(face, ov::Tensor{batch, {enquedFaces, 0, 0, 0}, {enquedFaces + 1, inShape[1], inShape[2], inShape[3]}});
321321
enquedFaces++;
322322
}
323323

@@ -374,7 +374,7 @@ void EmotionsDetection::enqueue(const cv::Mat &face) {
374374
}
375375
ov::Tensor batch = request.get_input_tensor();
376376
batch.set_shape(inShape);
377-
resize2tensor(face, ov::Tensor{batch, {enquedFaces, 0, 0, 0}, {enquedFaces, inShape[1], inShape[2], inShape[3]}});
377+
resize2tensor(face, ov::Tensor{batch, {enquedFaces, 0, 0, 0}, {enquedFaces + 1, inShape[1], inShape[2], inShape[3]}});
378378
enquedFaces++;
379379
}
380380

@@ -452,7 +452,7 @@ void FacialLandmarksDetection::enqueue(const cv::Mat &face) {
452452
}
453453
ov::Tensor batch = request.get_input_tensor();
454454
batch.set_shape(inShape);
455-
resize2tensor(face, ov::Tensor{batch, {enquedFaces, 0, 0, 0}, {enquedFaces, inShape[1], inShape[2], inShape[3]}});
455+
resize2tensor(face, ov::Tensor{batch, {enquedFaces, 0, 0, 0}, {enquedFaces + 1, inShape[1], inShape[2], inShape[3]}});
456456
enquedFaces++;
457457
}
458458

demos/machine_translation_demo/python/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ omz_converter --list models.lst
3131
* machine-translation-nar-en-de-0002
3232
* machine-translation-nar-en-ru-0001
3333
* machine-translation-nar-ru-en-0001
34+
* machine-translation-nar-en-ru-0002
35+
* machine-translation-nar-ru-en-0002
3436

3537
> **NOTE**: Refer to the tables [Intel's Pre-Trained Models Device Support](../../../models/intel/device_support.md) and [Public Pre-Trained Models Device Support](../../../models/public/device_support.md) for the details on models inference support at different devices.
3638

0 commit comments

Comments
 (0)