nemo_automodel.components.datasets.diffusion.text_to_image_dataset
nemo_automodel.components.datasets.diffusion.text_to_image_dataset
Module Contents
Classes
Data
API
Bases: BaseMultiresolutionDataset
Text-to-Image dataset with hierarchical bucket organization.
Load a single sample.
Dataclass
Construction-time configuration for TextToImageDataset.
cache_dir
Directory containing preprocessed cache.
train_text_encoder
If True, returns tokens instead of embeddings.
Build a TextToImageDataset from this TextToImageDatasetConfig.
Optional per-sample 1D token-id tensors of models that embed the prompt themselves (no text encoder).