技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
dalle2-pytorch【数据与研究】Use the DALLE2-pytorch package for DALL-E 2 style text-to-image model APIs, diffusion prior/decoder training, WebDataset data layouts, and tracker/checkpoint workflows.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this repo skill when a task involves the dalle2-pytorch package, DALL-E 2 style CLIP-latent text-to-image generation, diffusion prior training, cascaded decoder training, DALLE2 checkpoints, WebDataset embedding data, or the package's training/experiment tracking utilities.
DALLE2, DiffusionPriorNetwork, DiffusionPrior, Unet, Decoder, CLIP adapters, VQGAN/VAE latent diffusion, inpainting, tokenization, and the dream CLI.Install the public package:
python -m pip install dalle2-pytorch
Run the bundled package check from this skill directory:
python scripts/check_install.py --mode imports
python scripts/check_install.py --mode cli-help
For a CPU-only synthetic API smoke test that avoids CLIP downloads and model weights:
python sub-skills/generation-and-api/scripts/check_dalle2_runtime.py --mode tiny-forward
generation-and-apiRead sub-skills/generation-and-api/SKILL.md for Python model construction and generation tasks:
DALLE2, DiffusionPrior, Decoder, Unet, CLIP adapters, or VQGanVAE.dream, load generation checkpoints, tokenize prompts, sample images, or perform decoder inpainting.training-and-configsRead sub-skills/training-and-configs/SKILL.md for training and configuration tasks:
TrainDecoderConfig or TrainDiffusionPriorConfig JSON.DecoderTrainer or DiffusionPriorTrainer directly.python or accelerate launch commands, run bundled training wrappers, resume/save trainer checkpoints, or debug unet_training_mask, resampling, DeepSpeed fp16, and config errors.data-and-trackingRead sub-skills/data-and-tracking/SKILL.md for data and experiment-management tasks:
shard_width, or index_width.ImageEmbeddingDataset, create_image_embedding_dataloader, get_reader, make_splits, or PriorEmbeddingDataset.OpenAIClipAdapter, OpenClipAdapter) may download weights and require network/cache. Do not instantiate them in offline smoke checks unless weights are already cached.dream CLI expects a combined DALLE2 checkpoint with package-expected init/model keys; trainer checkpoints are a different format.clip-anytorch fails because pkg_resources is missing, install setuptools<81 and rerun python -m pip check.Use the bundled references and scripts in this skill tree. Do not require future agents to open, run, or copy scripts, docs, configs, tests, or examples from an original DALLE2-pytorch checkout. When a user wants to train in a checkout intentionally, treat that checkout as their working project, not as this skill's required evidence source.