(self, idx)
| 80 | ]) |
| 81 | |
| 82 | def __getitem__(self, idx): |
| 83 | c_data = self.data[idx] |
| 84 | image = Image.open(c_data) |
| 85 | image = self.preprocess(image) |
| 86 | return {'image': image} |
| 87 | |
| 88 | def __len__(self): |
| 89 | return len(self.data) |
nothing calls this directly
no outgoing calls
no test coverage detected