MCPcopy Create free account
hub / github.com/MaureenZOU/TSAM / __init__

Method __init__

src/data_loader/transform.py:51–52  ·  view source on GitHub ↗
(self, is_flow=False)

Source from the content-addressed store, hash-verified

49 """Randomly horizontally flips the given PIL.Image with a probability of 0.5
50 """
51 def __init__(self, is_flow=False):
52 self.is_flow = is_flow
53
54 def __call__(self, img_group, is_flow=False):
55 v = random.random()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected