nemo_automodel.components.datasets.diffusion.text_to_video_dataset
nemo_automodel.components.datasets.diffusion.text_to_video_dataset
Module Contents
Classes
Functions
Data
API
Bases: BaseMultiresolutionDataset
Text-to-Video dataset with multiresolution bucket organization.
Loads preprocessed .meta files organized by resolution bucket. Compatible with SequentialBucketSampler for multiresolution training.
Load a single video sample from its .meta file.
Construction-time configuration for :class:TextToVideoDataset.
Directory containing preprocessed cache (metadata.json + shards + WxH/*.meta).
Device to load tensors to.
Model type for model-specific fields (e.g. ‘wan’, ‘hunyuan’).
Build a :class:TextToVideoDataset from this :class:TextToVideoDatasetConfig.
Concatenate optional video fields present in batch into result dict.
Extract optional model-specific fields, moving to device.