zalandoresearch / psgan

Periodic Spatial Generative Adversarial Networks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

g_init

mse0 opened this issue · comments

commented

I was wondering why the MLP parameters are all initialized to mean 1? (The paper says mean 0)

Also why are there two "bands" for each periodic dimension? The paper says the final MLP bias is initialized using N(c, 0.02c) where c \in (0,pi], but the code uses the two bands and initializes 0 and 1 for x and y frequencies respectively (for band 1), and vice versa for band 2.

Thanks

Good catch - probably should be w_init instead of g_init! Might've been changed when we published the code (from the internal version). I'll check in the next week or so if this has significant impact.

Also: check-out the pytorch version that is linked in the Readme.md! Lasagne is outdated - in our team nobody uses it anymore.