MCPcopy Create free account
hub / github.com/coperception/star / __init__

Method __init__

star/datasets/MultiTempSeg.py:14–17  ·  view source on GitHub ↗
(self, split)

Source from the content-addressed store, hash-verified

12
13class Transform:
14 def __init__(self, split):
15 self.totensor = transforms.ToTensor()
16 self.resize = transforms.Resize((256, 256))
17 self.split = split
18
19 def __call__(self, img, label):
20 img = self.totensor(img.copy())

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected