mirror of https://github.com/alibaba/EasyCV.git
update hand_coco_wholebody_dataset interface
parent
bf43e8a25b
commit
4661bacc3e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue