MCPcopy Create free account
hub / github.com/Kitware/COAT / __init__

Method __init__

utils/transforms.py:98–100  ·  view source on GitHub ↗
(self, EPSILON=0.5, mean=[0.485, 0.456, 0.406])

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected