|
@@ -53,13 +53,13 @@ class _DatasetMixin(BaseMixin):
|
|
|
Reads annotations and creates annotation instance,
|
|
|
which holds important infos about the dataset
|
|
|
"""
|
|
|
- opts = AnnotationArgs(
|
|
|
+ args = AnnotationArgs(
|
|
|
self.info_file,
|
|
|
self.dataset_name,
|
|
|
self.part_type,
|
|
|
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
|
|
|
|
|
|
def init_datasets(self):
|