MCPcopy Create free account
hub / github.com/10Ring/LAA-Net / final_transform

Function final_transform

package_utils/transform.py:103–110  ·  view source on GitHub ↗
(_cfg)

Source from the content-addressed store, hash-verified

101
102
103def final_transform(_cfg):
104 return transforms.Compose([
105 transforms.ToTensor(),
106 transforms.Normalize(
107 mean=_cfg.TRANSFORM.normalize.mean,
108 std=_cfg.TRANSFORM.normalize.std,
109 ),
110 ])
111
112
113def randaffine(img, mask):

Callers 3

test.pyFile · 0.90
mainFunction · 0.90
__init__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected