(csv)
| 671 | |
| 672 | |
| 673 | def 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 | |
| 688 | def prep_ref_and_mask(cond_type, condition_frame_length, refs, target_shape, loop, device, dtype): |
nothing calls this directly
no test coverage detected