Skip to content
cccskills
FreePublished on GitHub

alae

Use the ALAE repository for Adversarial Latent Autoencoder data preparation, CUDA training, checkpoint-backed generation, latent editing, and legacy metrics.

The English summary is being prepared. Showing the original description.

See how to install

Files included (31)

  • SKILL.md4.4 KB
  • references/configuration.md4.7 KB
  • references/repo-provenance.md2.8 KB
  • references/repo-routing-metadata.json390 B
  • references/setup-and-environment.md4.1 KB
  • references/troubleshooting.md4.8 KB
  • scripts/check_alae_environment.py9.0 KB
  • scripts/download_alae_artifacts.py7.5 KB
  • sub-skills/data-preparation/references/data-layouts.md6.8 KB
  • sub-skills/data-preparation/references/face-alignment.md3.9 KB
  • sub-skills/data-preparation/references/tfrecord-preparation.md7.3 KB
  • sub-skills/data-preparation/references/troubleshooting.md5.8 KB
  • sub-skills/data-preparation/scripts/align_faces_alae.py11.2 KB
  • sub-skills/data-preparation/scripts/validate_alae_data_layout.py18.7 KB
  • sub-skills/data-preparation/SKILL.md2.4 KB
  • sub-skills/generation/references/generation-workflows.md9.3 KB
  • sub-skills/generation/references/latent-editing.md4.7 KB
  • sub-skills/generation/references/troubleshooting.md6.5 KB
  • sub-skills/generation/scripts/check_generation_assets.py13.7 KB
  • sub-skills/generation/scripts/check_principal_directions.py7.7 KB
  • sub-skills/generation/SKILL.md3.1 KB
  • sub-skills/metrics/references/metrics-workflows.md6.5 KB
  • sub-skills/metrics/references/troubleshooting.md7.3 KB
  • sub-skills/metrics/scripts/check_metrics_stack.py17.2 KB
  • sub-skills/metrics/SKILL.md3.0 KB
  • sub-skills/training/references/api-reference.md3.5 KB
  • sub-skills/training/references/checkpoints.md1.7 KB
  • sub-skills/training/references/training-workflow.md3.5 KB
  • sub-skills/training/references/troubleshooting.md2.4 KB
  • sub-skills/training/scripts/inspect_alae_config.py7.2 KB
  • sub-skills/training/SKILL.md1.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

ALAE repo skill

Use this skill when the user names ALAE, StyleALAE, adversarial latent autoencoders, the podgorskiy/ALAE repository, train_alae.py, interactive_demo.py, style_mixing/stylemix.py, ALAE TFRecords, principal directions, or ALAE FID/PPL/LPIPS metrics.

ALAE is an older, un-packaged script repository. Future agents normally need a local ALAE checkout, must run native scripts from that checkout root, and should set PYTHONPATH to the checkout root for subdirectory scripts.

First reads

Safe root helpers

Run these generated helpers from this skill directory, or use their full paths, while pointing --repo-root at the user's ALAE checkout:

python scripts/check_alae_environment.py --repo-root <ALAE-checkout>
python scripts/download_alae_artifacts.py --dataset all

check_alae_environment.py imports safe dependencies/source modules and checks PyTorch CUDA with a tiny tensor by default. It does not download models, import metric scripts, run training, or open a GUI.

download_alae_artifacts.py lists pretrained model IDs/URLs by default. It downloads only when both --download and --yes are supplied.

Route by task

User intentRead
Prepare TFRecords, validate data/sample/style paths, align faces, or adapt dataset paths away from /data/datasetsdata-preparation
Train or resume ALAE/StyleALAE, build a train_alae.py command, inspect configs, debug DDP/NCCL/dareblopy/checkpointstraining
Run pretrained demo, generate images, make reconstruction/style-mixing/interpolation/traversal figures, check principal directionsgeneration
Prepare or troubleshoot FID, reconstruction FID, PPL, or LPIPS legacy metric scriptsmetrics

Operating sequence for most tasks

  1. Confirm the user has or can create a local ALAE checkout; do not rely on the checkout used to build this skill.

  2. Read provenance if the checkout differs from the recorded commit or contains new/removed scripts.

  3. Run or adapt the root environment checker. Core training/generation requires CUDA-visible PyTorch; CPU-only import is not enough.

  4. Use the configuration reference and sub-skill-specific checkers before launching any long GPU, GUI, data conversion, metric, or network operation.

  5. For native ALAE commands, run from the checkout root:

    cd <ALAE-checkout>
    export PYTHONPATH="$PYTHONPATH:$(pwd)"
    python train_alae.py -c ffhq
    
  6. Ask for explicit approval before large downloads, raw dataset conversion, full training, GUI launch, or 10k-50k sample metric runs.

Important constraints

  • The README's ablation/separate-model routes are stale in this checkout: train_alae_separate.py, model_separate.py, and celeba_ablation_*.yaml were not present. Do not route users to them unless a newer checkout actually contains them.
  • metrics/fid_sep.py imports absent separate-model code and is not an executable route for this skill.
  • Many original scripts have hard-coded assumptions (/data/datasets, training_artifacts/<dataset>/last_checkpoint, fixed sample filenames, FFHQ-specific direction vectors). Prefer generated checkers before native execution.
  • TensorFlow/dnnlib metric workflows are optional legacy routes; they may import in a TF1 environment while still lacking a compatible TensorFlow GPU CUDA/cuDNN stack.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

3ddfa

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

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.

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

acme

Free

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

The English summary is being prepared. Showing the original description.

VectorSpaceLab/AREX-Skill338Updated Sep 3, 2026

See all skills by VectorSpaceLab

Report a problem with this skill