(self, idx)
| 55 | ]) |
| 56 | |
| 57 | def __getitem__(self, idx): |
| 58 | c_data = self.data[idx] |
| 59 | image = Image.open(c_data) |
| 60 | image = self.preprocess(image) |
| 61 | return {'image': image} |
| 62 | |
| 63 | def __len__(self): |
| 64 | return len(self.data) |
nothing calls this directly
no outgoing calls
no test coverage detected