Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lingeringlight/START
/ __call__
Method
__call__
augment.py:71–75 ·
view source on GitHub ↗
(self, img)
Source
from the content-addressed store, hash-verified
69
self.transf = transforms.Grayscale(3)
70
71
def
__call__(self, img):
72
if
random.random() < self.p:
73
return
self.transf(img)
74
else
:
75
return
img
76
77
78
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected