PyTorch-StudioGAN icon indicating copy to clipboard operation
PyTorch-StudioGAN copied to clipboard

set d_cond_mtd to "PD" in stylegan2, there is a bug: 'Discriminator' object has no attribute 'embedding'

Open cs911 opened this issue 1 year ago • 1 comments

set d_cond_mtd to "PD" in stylegan2, there is a bug: 'Discriminator' object has no attribute 'embedding'

cs911 avatar Mar 17 '23 02:03 cs911

While PD (Projection Discriminator) cannot be used with StyleGAN2 currently, it is recommended to use SPD (StyleGAN's Projection Discriminator) instead.

In fact, you will find that the mathematical formulation of SPD with the bias term separated is identical to that of PD (Projection Discriminator).

mingukkang avatar Apr 18 '23 03:04 mingukkang