diff --git a/otx/algorithms/classification/tasks/inference.py b/otx/algorithms/classification/tasks/inference.py index 18cebd6701b..fdca1f2753c 100644 --- a/otx/algorithms/classification/tasks/inference.py +++ b/otx/algorithms/classification/tasks/inference.py @@ -127,7 +127,6 @@ def infer( logger.info("called infer()") stage_module = "ClsInferrer" self._data_cfg = self._init_test_data_cfg(dataset) - dataset = dataset.with_empty_annotations() dump_features = True dump_saliency_map = not inference_parameters.is_evaluation if inference_parameters else True @@ -169,7 +168,6 @@ def explain( logger.info("called explain()") stage_module = "ClsExplainer" self._data_cfg = self._init_test_data_cfg(dataset) - dataset = dataset.with_empty_annotations() results = self._run_task( stage_module,