Skip to content

Commit 452ba6a

Browse files
authored
AC: fix logging intialization for quantization (#3032)
1 parent e813a1f commit 452ba6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/accuracy_checker/openvino/tools/accuracy_checker/evaluators/quantization_model_evaluator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from ..utils import extract_image_representations, contains_any
2121
from ..dataset import Dataset, DataProvider, AnnotationProvider
2222
from ..launcher import create_launcher, InputFeeder
23-
from ..logging import warning
23+
from ..logging import warning, init_logging
2424
from ..metrics import MetricsExecutor
2525
from ..postprocessor import PostprocessingExecutor
2626
from ..preprocessor import PreprocessingExecutor
@@ -32,6 +32,7 @@
3232

3333

3434
def create_model_evaluator(config):
35+
init_logging()
3536
cascade = 'evaluations' in config
3637
if not cascade:
3738
return ModelEvaluator.from_configs(config)

0 commit comments

Comments
 (0)