MCPcopy Create free account
hub / github.com/IDEA-Research/DINO / __init__

Method __init__

datasets/sltransform.py:206–209  ·  view source on GitHub ↗
(self, transformslist, p=-1)

Source from the content-addressed store, hash-verified

204 Randomly selects between transforms1 and transforms2,
205 """
206 def __init__(self, transformslist, p=-1):
207 self.transformslist = transformslist
208 self.p = p
209 assert p == -1
210
211 def __call__(self, img, target):
212 if self.p == -1:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected