Browse Source

renamed a variable

Dimitri Korsch 3 years ago
parent
commit
458eac9074
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cvfinetune/finetuner/mixins/dataset.py

+ 2 - 2
cvfinetune/finetuner/mixins/dataset.py

@@ -53,13 +53,13 @@ class _DatasetMixin(BaseMixin):
             Reads annotations and creates annotation instance,
             Reads annotations and creates annotation instance,
             which holds important infos about the dataset
             which holds important infos about the dataset
         """
         """
-        opts = AnnotationArgs(
+        args = AnnotationArgs(
             self.info_file,
             self.info_file,
             self.dataset_name,
             self.dataset_name,
             self.part_type,
             self.part_type,
             self.feature_model
             self.feature_model
         )
         )
-        self.annot = AnnotationType.new_annotation(opts, load_strict=False)
+        self.annot = AnnotationType.new_annotation(args, load_strict=False)
         self.dataset_cls.label_shift = self._label_shift
         self.dataset_cls.label_shift = self._label_shift
 
 
     def init_datasets(self):
     def init_datasets(self):