Alternating Trainer
Source: /trainers/alternating.py
examples
Configurations: /trainers/alternating_trainer/
options
attribute | description | type |
g_optimizer | Optimizer configuration for G | Config (required) |
d_optimizer | Optimizer configuration for D | Config (required) |
hooks | Train Hooks | Array of configs (optional) |
train_d_every | train D every N steps | Integer (optional) |
train_g_every | train G every N steps | Integer (optional) |
pretrain_d | First N steps only trains D | Integer (optional) |
Last updated