You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: keep discriminator/critic in training mode during generator backprop
The Backpropagate method requires training mode to be enabled.
Previous code set discriminator/critic to eval mode before calling
Backpropagate, which would throw InvalidOperationException.
Changed files:
- ACGAN.cs: Keep discriminator in training mode, use BackwardWithInputGradient
- StyleGAN.cs: Keep discriminator in training mode, use BackwardWithInputGradient
- InfoGAN.cs: Keep discriminator and QNetwork in training mode
- WGAN.cs: Keep critic in training mode
- WGANGP.cs: Keep critic in training mode
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
0 commit comments