if per_fold is None:
msg = f"per_fold = None is not supported."
raise ValueError(msg)
super().__init__()
self.feature_extraction = feature_extraction
After Change
self.min_duration_ = 0. if self.min_duration is None \
else self.min_duration
self.weighted_ = True
self._load_metadata(protocol, subset=subset)
def _load_metadata(self, protocol, subset="train"):