executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
dual_contrastive_lossCompute and inspect a DCL-style contrastive proxy loss with same-latent positives and real-target anti-collapse negatives.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when a recovery needs a deterministic feature-level version of the paper's DCL objective. It accepts a latent-paired batch and produces an InfoNCE-like scalar loss plus mechanism checks. Do not use it as a replacement for full StyleGAN training when full models are available.
latent_pair_protocol.Run python tests/test_dual_contrastive_loss.py from this skill directory.
The script uses small numeric vectors and standard-library math; it preserves objective structure but not neural feature extraction.
A shuffled-positive stress check should produce higher loss than aligned same-latent positives; see cycle1_shuffled_stress.json in recovery logs.