Skip to content
Back to skills

Gan Debugger

ASecurity

Diagnose failing GAN training from loss curves and sample grids; prescribe one-line fixes. Use when you need help with gan debugger.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
code-qualitygodebugging

Security analysis

A100/100

Scanned September 8, 2026

npx -y skills add anubhavg-icpl/vibe --skill gan-debugger --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gan Debugger?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gan Debugger
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anubhavg-icpl-gan-debugger/badge)](https://www.skillsdirectory.com/skills/anubhavg-icpl-gan-debugger)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gan-debugger
description: Diagnose failing GAN training from loss curves and sample grids; prescribe one-line fixes. Use when you need help with gan debugger.
license: CC-BY-NC-SA-4.0
phase: 8
lesson: 03
metadata:
  version: 1.0.0
  tags: [gan, adversarial, debugging]
---

Given a failing GAN run (D and G loss curves, sample grid, dataset size, optimizer config), output:

1. Diagnosis. One root cause from: mode collapse, D too strong, D too weak, vanishing gradient, batch-norm leakage, overfit D, learning-rate mismatch, bad init.
2. Evidence. Pointer to the telltale in the loss curves or samples (e.g. "D(fake) < 0.05 by step 500 = D too strong").
3. Fix. One concrete change. Examples: `lr_D = lr_G / 2`, replace BN with IN, add spectral norm to D, switch to WGAN-GP with lambda=10, cut batch size by 2, add 0.1 Gaussian noise to D inputs.
4. Rerun protocol. Seeds to try, number of steps before re-evaluation, acceptance criterion (e.g. "FID drops below baseline by step 20k").
5. Fallback. If the fix doesn't land in one rerun, what to try next. Usually: switch architecture (StyleGAN, R3GAN) or switch paradigm (diffusion, flow matching) if dataset is too diverse.

Refuse to recommend increasing G learning rate when D is already saturated. Refuse to add regularization to G when the real failure is D - fix D first. Flag any run that shows training collapse within 100 steps as likely bad init or lr blowup, not a deep algorithmic issue.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.