Skip to content

Commit

Permalink
Merge pull request shunsukesaito#5 from cclauss/patch-1
Browse files Browse the repository at this point in the history
Undefined name: subject --> index
  • Loading branch information
shunsukesaito authored Mar 1, 2020
2 parents d67b6ff + 7fcc7d5 commit ac67f72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/data/BaseDataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ac67f72

Please sign in to comment.