MCPcopy Index your code
hub / github.com/hpcaitech/Open-Sora / easy_data

Function easy_data

opensora/utils/inference_utils.py:673–685  ·  view source on GitHub ↗
(csv)

Source from the content-addressed store, hash-verified

671
672
673def easy_data(csv):
674 from opensora.registry import DATASETS, build_module
675
676 dataset = build_module(
677 {
678 "type": "VariableVideoTextDataset",
679 "transform_name": "resize_crop",
680 "data_path": csv,
681 },
682 DATASETS,
683 )
684
685 return dataset["0-113-360-640"]
686
687
688def prep_ref_and_mask(cond_type, condition_frame_length, refs, target_shape, loop, device, dtype):

Callers

nothing calls this directly

Calls 1

build_moduleFunction · 0.90

Tested by

no test coverage detected