monkey-net
monkey-net copied to clipboard
Question about generator training
hi: Have a question , in https://github.com/AliaksandrSiarohin/monkey-net/blob/0c8aa4ea458a79717d9016a36a3d86d10a166aea/train.py#L48 for the generator training, when computing the generator loss, it seems the discriminator parameters are not frozen, while for discriminator training, https://github.com/AliaksandrSiarohin/monkey-net/blob/0c8aa4ea458a79717d9016a36a3d86d10a166aea/train.py#L70, the parameters of generator frozen? @AliaksandrSiarohin
Hi, it doesn't matter, since optimizer for generator only updates generator parameters, while optimizer for discriminator only update discriminator parameters.
thanks a lot!