|
|
@@ -199,7 +199,7 @@ class _DatasetMixin(abc.ABC):
|
|
|
"""Reads annotations and creates annotation instance, which holds important infos about the dataset"""
|
|
|
|
|
|
annot_cls = AnnotationType.get(opts.dataset).value
|
|
|
- self.annot = annot_cls(opts.data, opts.parts)
|
|
|
+ self.annot = annot_cls(root_or_infofile=opts.data, parts=opts.parts, load_strict=False)
|
|
|
|
|
|
self.data_info = self.annot.info
|
|
|
self.model_info = self.data_info.MODELS[opts.model_type]
|