(self, EPSILON=0.5, mean=[0.485, 0.456, 0.406])
| 96 | https://github.com/zhunzhong07/CamStyle/blob/master/reid/utils/data/transforms.py |
| 97 | ''' |
| 98 | def __init__(self, EPSILON=0.5, mean=[0.485, 0.456, 0.406]): |
| 99 | self.EPSILON = EPSILON |
| 100 | self.mean = mean |
| 101 | |
| 102 | def __call__(self, img, target): |
| 103 | if random.uniform(0, 1) > self.EPSILON: |
nothing calls this directly
no outgoing calls
no test coverage detected