Skip to content

Commit 4d3fc84

Browse files
author
Anna Grebneva
authored
Fixed max_ind_range configuration in criteo converter (#2908)
1 parent 0283008 commit 4d3fc84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/accuracy_checker/openvino/tools/accuracy_checker/annotation_converters/criteo_kaggle_dac.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ def configure(self):
6464
self.src = self.get_value_from_config('testing_file')
6565
self.binary = self.get_value_from_config('binary')
6666
self.batch = int(self.get_value_from_config('batch'))
67-
self.max_ind_range = int(self.get_value_from_config('max_ind_range'))
67+
max_ind_range = self.get_value_from_config('max_ind_range')
68+
self.max_ind_range = int(max_ind_range) if max_ind_range is not None else max_ind_range
6869
self.subsample = int(self.get_value_from_config('subsample_size'))
6970
self.validation = self.get_value_from_config('validation')
7071
self.block = self.get_value_from_config('block')

0 commit comments

Comments
 (0)