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

Method __init__

src/data_loader/transform.py:91–92  ·  view source on GitHub ↗
(self, size, interpolation=Image.BILINEAR)

Source from the content-addressed store, hash-verified

89 """
90
91 def __init__(self, size, interpolation=Image.BILINEAR):
92 self.worker = torchvision.transforms.Resize(size, interpolation)
93
94 def __call__(self, img_group):
95 return [self.worker(img) for img in img_group]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected