MCPcopy Create free account
hub / github.com/NVlabs/SPADE / normalize

Function normalize

data/base_dataset.py:81–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

79
80
81def normalize():
82 return transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
83
84
85def __resize(img, w, h, method=Image.BICUBIC):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected