Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hpcaitech/Open-Sora
/ writeImage
Function
writeImage
tools/frame_interpolation/utils/utils.py:234–237 ·
view source on GitHub ↗
(name, data)
Source
from the content-addressed store, hash-verified
232
233
234
def
writeImage(name, data):
235
if
name.endswith(
".pfm"
) or name.endswith(
".PFM"
):
236
return
writePFM(name, data, 1)
237
return
imwrite(name, data)
238
239
240
def
writeFlow(name, flow):
Callers
1
write
Function · 0.85
Calls
1
writePFM
Function · 0.85
Tested by
no test coverage detected