From 671fad8a7496dad3560ed81dae4979792b51ed1a Mon Sep 17 00:00:00 2001 From: Anna Mironova Date: Fri, 19 Nov 2021 15:56:22 +0300 Subject: [PATCH] Fixed max_ind_range configuration in criteo converter --- .../annotation_converters/criteo_kaggle_dac.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/accuracy_checker/openvino/tools/accuracy_checker/annotation_converters/criteo_kaggle_dac.py b/tools/accuracy_checker/openvino/tools/accuracy_checker/annotation_converters/criteo_kaggle_dac.py index a12680cc4a9..2b60ca46895 100644 --- a/tools/accuracy_checker/openvino/tools/accuracy_checker/annotation_converters/criteo_kaggle_dac.py +++ b/tools/accuracy_checker/openvino/tools/accuracy_checker/annotation_converters/criteo_kaggle_dac.py @@ -64,7 +64,8 @@ def configure(self): self.src = self.get_value_from_config('testing_file') self.binary = self.get_value_from_config('binary') self.batch = int(self.get_value_from_config('batch')) - self.max_ind_range = int(self.get_value_from_config('max_ind_range')) + max_ind_range = self.get_value_from_config('max_ind_range') + self.max_ind_range = int(max_ind_range) if max_ind_range is not None else max_ind_range self.subsample = int(self.get_value_from_config('subsample_size')) self.validation = self.get_value_from_config('validation') self.block = self.get_value_from_config('block')