Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/NVIDIA/FastPhotoStyle
/ process
Method
process
process_stylization.py:21–25 ·
view source on GitHub ↗
(self, seg)
Source
from the content-addressed store, hash-verified
19
self.remapping = []
20
21
def
process(self, seg):
22
new_seg = seg.copy()
23
for
k, v in self.remapping.items():
24
new_seg[seg == k] = v
25
return
new_seg
26
27
28
class
Timer:
Callers
1
stylization
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected