
  --train_text_encoder  Training script DreamBooth comes with its own dataset classes: DreamBoothDataset: preprocesses the images and class images, and tokenizes the prompts for training PromptDataset: generates the prompt embeddings to generate the class images If you enabled prior preservation loss, the class images are generated here:   Copied sample_dataset = PromptDataset(args.class_prompt, num_new_images)
sample_dataloader = torch.utils.