MCPcopy
hub / github.com/hpcaitech/Open-Sora / process

Function process

tools/frame_interpolation/interpolation.py:162–171  ·  view source on GitHub ↗
(
    model,
    image_path,
    output_path,
    fps,
    iters,
)

Source from the content-addressed store, hash-verified

160
161
162def process(
163 model,
164 image_path,
165 output_path,
166 fps,
167 iters,
168):
169 inputs, scale, padder = get_input_video_from_path(image_path)
170 outputs = interpolater(model, inputs, scale, padder, iters)
171 write(outputs, image_path, output_path, fps)
172
173
174def parse_args():

Callers 1

interpolation.pyFile · 0.70

Calls 3

interpolaterFunction · 0.85
writeFunction · 0.70

Tested by

no test coverage detected