update hand_coco_wholebody_dataset interface

pull/191/head
wenmeng.zwm 2022-09-08 20:27:01 +08:00
parent bf43e8a25b
commit 4661bacc3e
1 changed files with 1 additions and 1 deletions

View File

@ -66,5 +66,5 @@ class HandCocoWholeBodyDataset(BaseDataset):
def __getitem__(self, idx):
"""Get the sample given index."""
results = self.data_source.get_sample(idx)
results = self.data_source[idx]
return self.pipeline(results)