跳到正文
cccskills
免费在 GitHub 公开

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.

中文简介正在准备中。当前显示原文说明。

集成工具OpenAIHugging Face
查看安装方法

包含的文件(27)

  • SKILL.md4.6 KB
  • references/repo-provenance.md2.2 KB
  • references/repo-routing-metadata.json421 B
  • references/troubleshooting.md3.1 KB
  • scripts/check_install.py3.8 KB
  • sub-skills/data-and-tracking/references/data-formats.md4.9 KB
  • sub-skills/data-and-tracking/references/tracking-and-checkpoints.md4.0 KB
  • sub-skills/data-and-tracking/references/troubleshooting.md3.5 KB
  • sub-skills/data-and-tracking/scripts/validate_webdataset_layout.py5.6 KB
  • sub-skills/data-and-tracking/SKILL.md3.7 KB
  • sub-skills/generation-and-api/references/api-reference.md9.3 KB
  • sub-skills/generation-and-api/references/latent-diffusion-and-vqgan.md4.6 KB
  • sub-skills/generation-and-api/references/troubleshooting.md8.2 KB
  • sub-skills/generation-and-api/references/workflows.md8.9 KB
  • sub-skills/generation-and-api/scripts/check_dalle2_runtime.py8.3 KB
  • sub-skills/generation-and-api/SKILL.md3.1 KB
  • sub-skills/training-and-configs/references/cli-reference.md3.6 KB
  • sub-skills/training-and-configs/references/config-templates/decoder-cpu-smoke.json1.8 KB
  • sub-skills/training-and-configs/references/config-templates/prior-minimal.json1.8 KB
  • sub-skills/training-and-configs/references/trainer-api.md6.8 KB
  • sub-skills/training-and-configs/references/training-configs.md10.0 KB
  • sub-skills/training-and-configs/references/troubleshooting.md5.6 KB
  • sub-skills/training-and-configs/scripts/inspect_training_config.py11.8 KB
  • sub-skills/training-and-configs/scripts/run_decoder_training.py33.3 KB
  • sub-skills/training-and-configs/scripts/run_diffusion_prior_training.py22.9 KB
  • sub-skills/training-and-configs/scripts/training_command_builder.py2.2 KB
  • sub-skills/training-and-configs/SKILL.md2.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

DALLE2-pytorch

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.

What This Skill Covers

  • Public Python APIs for DALLE2, DiffusionPriorNetwork, DiffusionPrior, Unet, Decoder, CLIP adapters, VQGAN/VAE latent diffusion, inpainting, tokenization, and the dream CLI.
  • JSON config classes and bundled training launchers for decoder and diffusion-prior training.
  • WebDataset and EmbeddingReader data layouts, sidecar embedding folders, shard/index validation, trackers, checkpoint loading, and checkpoint saving.
  • Troubleshooting for install/import, CLIP downloads, CPU vs GPU expectations, config validation, data layout, tracker credentials, and checkpoint format mismatches.

Install And Minimal Check

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

Choose A Sub-Skill

generation-and-api

Read sub-skills/generation-and-api/SKILL.md for Python model construction and generation tasks:

  • Build or call DALLE2, DiffusionPrior, Decoder, Unet, CLIP adapters, or VQGanVAE.
  • Use dream, load generation checkpoints, tokenize prompts, sample images, or perform decoder inpainting.
  • Debug checkpoint architecture mismatches, CLIP weight downloads, CPU/GPU limitations, inpaint mask shape, or classifier-free guidance.

training-and-configs

Read sub-skills/training-and-configs/SKILL.md for training and configuration tasks:

  • Author/validate TrainDecoderConfig or TrainDiffusionPriorConfig JSON.
  • Use DecoderTrainer or DiffusionPriorTrainer directly.
  • Build 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-tracking

Read sub-skills/data-and-tracking/SKILL.md for data and experiment-management tasks:

  • Validate decoder WebDataset shard names, sample keys, sidecar image/text embedding folders, shard_width, or index_width.
  • Use ImageEmbeddingDataset, create_image_embedding_dataloader, get_reader, make_splits, or PriorEmbeddingDataset.
  • Configure console/W&B logging, local/URL/W&B checkpoint loading, or local/W&B/HuggingFace saving.

Important Constraints

  • Real training and useful image sampling normally need GPU memory and trained checkpoints. CPU is suitable for imports, config parsing, CLI help, and tiny synthetic forward-loss tests.
  • CLIP adapters (OpenAIClipAdapter, OpenClipAdapter) may download weights and require network/cache. Do not instantiate them in offline smoke checks unless weights are already cached.
  • Training examples may need datasets, W&B/HuggingFace/S3 credentials, metric assets, and long runtime. Validate configs and data layout before launch.
  • The dream CLI expects a combined DALLE2 checkpoint with package-expected init/model keys; trainer checkpoints are a different format.
  • If clip-anytorch fails because pkg_resources is missing, install setuptools<81 and rerun python -m pip check.

Root References

Self-Containment Rule

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Routes 3D ResNets PyTorch video action-recognition workflows across training, inference, and data preparation.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

3ddfa

免费

Guide 3DDFA Python inference, geometry rendering, training/evaluation, and optional C++ ONNX workflows for 3D dense face alignment.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

3ddfa-v2

免费

Routes 3DDFA_V2 face-alignment setup, still-image demos, video tracking, and ONNX benchmarking workflows.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

ab3dmot

免费

Operate AB3DMOT 3D multi-object tracking workflows for KITTI and nuScenes data, tracking, evaluation, and visualization.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

Use Hugging Face Accelerate for PyTorch training-loop migration, distributed launch/configuration, DeepSpeed/FSDP/TPU backend setup, big-model inference/offload, checkpointing, tracking, and troubleshooting.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

acme

免费

Route Acme reinforcement-learning framework tasks across core loops, replay/data, JAX agents, and TensorFlow/Sonnet agents.

中文简介正在准备中。当前显示原文说明。

VectorSpaceLab/AREX-Skill3412026年9月3日 更新

查看 VectorSpaceLab 的全部技能

报告此技能的问题