Skip to main content

Blog

Learn About Our Meetup

5000+ Members

MEETUPS

LEARN, CONNECT, SHARE

Join our meetup, learn, connect, share, and get to know your Toronto AI community. 

JOB POSTINGS

INDEED POSTINGS

Browse through the latest deep learning, ai, machine learning postings from Indeed for the GTA.

CONTACT

CONNECT WITH US

Are you looking to sponsor space, be a speaker, or volunteer, feel free to give us a shout.

Removing blob artifact from StyleGAN generations without retraining. Inspired by StyleGAN2

Removing blob artifact from StyleGAN generations without retraining. Inspired by StyleGAN2

Got StyleGAN generator working without producing the blob artifact using the same architecture/weights.

This might be useful for those, who have already trained a model using the initial version of StyleGAN, but still want to produce generations without the blob artifacts.

https://reddit.com/link/ecji6v/video/h4m9fryurg541/player

The idea is pretty simple. I observed, that the artifact appears right after 64×64 resolution. Network tries to fool the instance normalization layer and creates one or two entries in a tensor that have the same order of magnitude as the sum of the rest of the tensor. I simply zero out those entries.

However, doing just that would ruing the generation. Instead, starting from resolution 64×64 I execute two branches: one with original tensor and the second one with pruned tensor. The original one is used to compute coefficients for the instance normalization, that are later applied to the pruned branch.

https://twitter.com/StasPodgorskiy/status/1207369489676996614

https://github.com/podgorskiy/StyleGAN_Blobless

submitted by /u/stpidhorskyi
[link] [comments]