fastvideo.pipelines.preprocess.preprocess_pipeline_t2v

fastvideo.pipelines.preprocess.preprocess_pipeline_t2v#

T2V Data Preprocessing pipeline implementation.

This module contains an implementation of the T2V Data Preprocessing pipeline using the modular pipeline architecture.

Module Contents#

Classes#

PreprocessPipeline_T2V

T2V preprocessing pipeline implementation.

Data#

API#

fastvideo.pipelines.preprocess.preprocess_pipeline_t2v.EntryClass#

None

class fastvideo.pipelines.preprocess.preprocess_pipeline_t2v.PreprocessPipeline_T2V(model_path: str, fastvideo_args: fastvideo.fastvideo_args.FastVideoArgs | fastvideo.fastvideo_args.TrainingArgs, required_config_modules: list[str] | None = None, loaded_modules: dict[str, torch.nn.Module] | None = None)[source]#

Bases: fastvideo.pipelines.preprocess.preprocess_pipeline_base.BasePreprocessPipeline

T2V preprocessing pipeline implementation.

Initialization

Initialize the pipeline. After init, the pipeline should be ready to use. The pipeline should be stateless and not hold any batch state.

get_schema_fields()[source]#

Get the schema fields for T2V pipeline.