(image_size=384)
| 5 | return image.convert("RGB") |
| 6 | |
| 7 | def get_transform(image_size=384): |
| 8 | return Compose([ |
| 9 | convert_to_rgb, |
| 10 | Resize((image_size, image_size)), |
| 11 | ToTensor(), |
| 12 | Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]) |
| 13 | ]) |
nothing calls this directly
no outgoing calls
no test coverage detected