MCPcopy Create free account
hub / github.com/XLearning-SCU/2022-CVPR-DART / __init__

Method __init__

ChannelAug.py:107–113  ·  view source on GitHub ↗
(self, probability = 0.5, sl = 0.02, sh = 0.4, r1 = 0.3, mean=[0.4914, 0.4822, 0.4465])

Source from the content-addressed store, hash-verified

105 """
106
107 def __init__(self, probability = 0.5, sl = 0.02, sh = 0.4, r1 = 0.3, mean=[0.4914, 0.4822, 0.4465]):
108
109 self.probability = probability
110 self.mean = mean
111 self.sl = sl
112 self.sh = sh
113 self.r1 = r1
114
115 def __call__(self, img):
116

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected