Skip to content

Commit aa3247e

Browse files
authored
AC: fix layout resolving (#3143)
1 parent 93c9513 commit aa3247e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/accuracy_checker/openvino/tools/accuracy_checker/launcher/openvino_launcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def __init__(self, config_entry, model_name='', delayed_model_loading=False,
122122
)
123123
self.load_network(log=not postpone_inputs_configuration, preprocessing=preprocessor)
124124
self.allow_reshape_input = self.get_value_from_config('allow_reshape_input') and self.network is not None
125-
if postpone_inputs_configuration:
125+
if not postpone_inputs_configuration:
126126
self.try_to_set_default_layout()
127127
else:
128128
self.allow_reshape_input = self.get_value_from_config('allow_reshape_input')

0 commit comments

Comments
 (0)