MCPcopy Create free account
hub / github.com/TorchSSL/TorchSSL / augment_list

Function augment_list

datasets/augmentation/randaugment.py:144–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142
143
144def augment_list():
145 l = [
146 (AutoContrast, 0, 1),
147 (Brightness, 0.05, 0.95),
148 (Color, 0.05, 0.95),
149 (Contrast, 0.05, 0.95),
150 (Equalize, 0, 1),
151 (Identity, 0, 1),
152 (Posterize, 4, 8),
153 (Rotate, -30, 30),
154 (Sharpness, 0.05, 0.95),
155 (ShearX, -0.3, 0.3),
156 (ShearY, -0.3, 0.3),
157 (Solarize, 0, 256),
158 (TranslateX, -0.3, 0.3),
159 (TranslateY, -0.3, 0.3)
160 ]
161 return l
162
163
164class RandAugment:

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected