Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lingeringlight/START
/ __init__
Method
__init__
augment.py:54–55 ·
view source on GitHub ↗
(self, p=0.2)
Source
from the content-addressed store, hash-verified
52
Apply Solarization to the PIL image.
53
""
"
54
def
__init__(self, p=0.2):
55
self.p = p
56
57
def
__call__(self, img):
58
if
random.random() < self.p:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected