Skip to content

Commit 4a71e2e

Browse files
authored
AC docs: add info about compatibility with api 1.0 (#3333)
* AC docs: add info about compatibility with api 1.0 * add info about command line parameters * Update tools/accuracy_checker/openvino/tools/accuracy_checker/launcher/openvino_launcher_readme.md * add note regarding config files * Update tools/accuracy_checker/openvino/tools/accuracy_checker/launcher/openvino_launcher_readme.md * Update tools/accuracy_checker/openvino/tools/accuracy_checker/launcher/openvino_launcher_readme.md
1 parent bf4894c commit 4a71e2e

File tree

6 files changed

+104
-131
lines changed

6 files changed

+104
-131
lines changed

tools/accuracy_checker/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
omz_tools_accuracy_checker_onnx_runtime_launcher
1818
omz_tools_accuracy_checker_opencv_launcher
1919
omz_tools_accuracy_checker_openvino_launcher
20-
omz_tools_accuracy_checker_dlsdk_launcher
2120
omz_tools_accuracy_checker_pdpd_launcher
2221
omz_tools_accuracy_checker_pytorch_launcher
2322
omz_tools_accuracy_checker_tf2_launcher
@@ -202,7 +201,7 @@ Currently *caffe*, *dlsdk*, *mxnet*, *tf*, *tf2*, *tf_lite*, *opencv*, *onnx_run
202201
Launcher description can have differences.
203202

204203
- [How to configure Caffe launcher](openvino/tools/accuracy_checker/launcher/caffe_launcher_readme.md)
205-
- [How to configure OpenVINO launcher](openvino/tools/accuracy_checker/launcher/dlsdk_launcher_readme.md)
204+
- [How to configure OpenVINO launcher](openvino/tools/accuracy_checker/launcher/openvino_launcher_readme.md)
206205
- [How to configure OpenCV launcher](openvino/tools/accuracy_checker/launcher/opencv_launcher_readme.md)
207206
- [How to configure G-API launcher](openvino/tools/accuracy_checker/launcher/gapi_launcher_readme.md)
208207
- [How to configure MXNet Launcher](openvino/tools/accuracy_checker/launcher/mxnet_launcher_readme.md)

tools/accuracy_checker/configs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# How to use predefined configuration files
22

3+
**Note**: Since 2022.1 all provided Open Model Zoo configuration files switched to work with OpenVINO™ API 2.0. For launching models with API 1.0, additional actions may be required,, see [config migration guide](../openvino/launchers/../tools/accuracy_checker/launcher/openvino_launcher_readme.md#migrate-accuracy-checker-configuration-from-openvino-api-10-to-20)
4+
5+
36
## Structure
47

58
Configuration file declares validation process. Every model has to have entry in `models` list. Each entry has to contain distinct `name`, `launchers` and `datasets` sections.

tools/accuracy_checker/openvino/tools/accuracy_checker/argparser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from pathlib import Path
2020

2121
from . import __version__
22-
from .utils import get_path, cast_to_bool
22+
from .utils import get_path, cast_to_bool, ov_new_api_available
2323

2424

2525
def add_common_args(parser):
@@ -304,7 +304,7 @@ def add_openvino_specific_args(parser):
304304
)
305305
openvino_specific_args.add_argument(
306306
'--use_new_api', type=cast_to_bool, help='switch to processing using OpenVINO 2.0 API', required=False,
307-
default=None
307+
default=ov_new_api_available()
308308
)
309309

310310

tools/accuracy_checker/openvino/tools/accuracy_checker/launcher/dlsdk_launcher_readme.md

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)