swapping-autoencoder-pytorch icon indicating copy to clipboard operation
swapping-autoencoder-pytorch copied to clipboard

error in stylegan2_layers.py

Open AltoriaDD opened this issue 1 year ago • 0 comments

Hello,Thank you for your work.I hope others can notice that when you want dim>2, please make corresponding modifications style = self.modulation(style) if self.demodulate: style = style * torch.rsqrt(style.pow(2).mean([1], keepdim=True) + 1e-8)

AltoriaDD avatar Jul 05 '23 12:07 AltoriaDD