MCPcopy
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
234def 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
240def writeFlow(name, flow):

Callers 1

writeFunction · 0.85

Calls 1

writePFMFunction · 0.85

Tested by

no test coverage detected