diff --git a/lib/data/BaseDataset.py b/lib/data/BaseDataset.py index 5559a68b0..2d3e84234 100755 --- a/lib/data/BaseDataset.py +++ b/lib/data/BaseDataset.py @@ -39,7 +39,7 @@ def get_item(self, index): } return res except: - print("Requested subject %s has missing files. Using a random sample instead." % subject) + print("Requested index %s has missing files. Using a random sample instead." % index) return self.get_item(index=random.randint(0, self.__len__() - 1)) def __getitem__(self, index):