计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
cdc_similarity_loss【效率与协作】Compute cross-domain distance consistency softmax-KL losses for few-shot generator adaptation experiments.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when implementing or auditing a few-shot generator adaptation run that must preserve the relative relationships learned by a pretrained source generator. The skill is appropriate for full image features, intermediate generator activations, or reduced vector proxies. Do not use it as a target-realism loss by itself; it only checks whether source and adapted samples keep comparable pairwise similarity structure.
source_layers: mapping from layer name to a list of source activation vectors for the same latent batch.adapted_layers: mapping with identical layer names and vector counts for the adapted generator.temperature and eps values for stable probability and KL calculations.Run python tests/test_cdc_loss.py or validate this skill tree with validate_skill_tree.py --run-tests.
This skill does not train a generator, compute LPIPS, or replace discriminator losses. In a reduced recovery it can operate on vectors, but the recovery must explicitly label that execution as proxy evidence.