本文へ移動
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.

インストール方法を見る

含まれるファイル(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(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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

日本語の概要は準備中です。原文の説明を表示しています。

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

3ddfa

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

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

3ddfa-v2

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

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

ab3dmot

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

VectorSpaceLab/AREX-Skill3322026年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-Skill3322026年9月3日 更新

acme

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

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

VectorSpaceLab のスキルをすべて見る

このスキルの問題を報告する