(self, key)
| 405 | return len(self.paths) |
| 406 | |
| 407 | def __getitem__(self, key): |
| 408 | path = self.paths[key] |
| 409 | with open(path, 'rb') as f: |
| 410 | image = Image.open(f).convert('RGB') |
| 411 | image = self.transform(image) |
| 412 | return image, |
| 413 | |
| 414 | |
| 415 | class CSVLogger: |
nothing calls this directly
no outgoing calls
no test coverage detected