技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
perceptual_latent_compression【数据与研究】Validate LDM autoencoder latent compression contracts, spatial downsampling, regularization metadata, and reconstruction diagnostics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when a task needs the first-stage latent representation contract from Latent Diffusion Models. It is appropriate for planning or validating LDM training, sampling, or recovery experiments. Do not use it to claim that a production perceptual autoencoder has been trained or loaded; the script validates contracts and reduced-proxy metadata only.
f, preferably one of the mild LDM factors such as 4 or 8.kl, vq, or none for declared proxies.Run python scripts/latent_contract.py --height 16 --width 16 --channels 3 --factor 4 --latent-channels 3 --regularization none and execute python tests/test_latent_contract.py or the Distiller skill validator with --run-tests.
This skill does not load paper checkpoints, compute real FID, or train the autoencoder. Full reconstruction quality requires real autoencoder weights and dataset metrics.