(self, mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225])
| 173 | |
| 174 | class normalize: |
| 175 | def __init__(self, mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]): |
| 176 | self.mean = mean |
| 177 | self.std = std |
| 178 | |
| 179 | def __call__(self, image, label = None): |
| 180 | image = image.astype(np.float32) |
nothing calls this directly
no outgoing calls
no test coverage detected