We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d722bb commit ba49ef6Copy full SHA for ba49ef6
tools/accuracy_checker/openvino/tools/accuracy_checker/config/config_reader.py
@@ -146,7 +146,9 @@ def _read_configs(arguments):
146
definitions = os.environ.get(DEFINITION_ENV_VAR) or local_config.get('global_definitions')
147
if definitions:
148
definitions = read_yaml(Path(arguments.config).parent / definitions)
149
- global_config = read_yaml(arguments.definitions) if arguments.definitions else definitions
+ global_config = (
150
+ read_yaml(arguments.definitions) if 'definitions' in arguments and arguments.definitions else definitions
151
+ )
152
153
return global_config, local_config
154
0 commit comments