Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
81
def
normalize():
82
return
transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
83
84
85
def
__resize(img, w, h, method=Image.BICUBIC):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected