enable single experience training in `JointTraining`
@@ -153,6 +153,7 @@ class JointTraining(SupervisedTemplate):
def train_dataset_adaptation(self, **kwargs):
"""Concatenates all the datastream."""
self.adapted_dataset = self._experiences[0].dataset
+ if len(self._experiences) > 1:
for exp in self._experiences[1:]:
cat_data = AvalancheConcatDataset(
[self.adapted_dataset, exp.dataset]
