技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
data-and-text-conditioning【数据与研究】Prepare Imagen-Pytorch image folders, Hugging Face dataset items, collators, and T5 or precomputed text conditioning inputs.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill for the preprocessing path that turns local image collections or Hugging Face rows into Imagen-ready batches and text-conditioning inputs.
Dataset(folder, image_size, exts, convert_image_to_type) and get_images_dataloader(...).Collator(image_size, url_label, text_label, image_label, name, channels) and its URL/image/text row handling.text_embeds, text_masks, and image-channel conversion for Imagen / ImagenTrainer.train_step: ../training-and-checkpointing/SKILL.md../configuration-and-cli/SKILL.md../image-generation/SKILL.md../video-and-inpainting/SKILL.mdDataset(...) or get_images_dataloader(...) to produce image-only batches.Collator(...) to produce image tensors and encoded text tensors.text_embeds / text_masks and verify the shapes before training.None if every row in a batch fails.channels value and the input image modes.