yuuho / stylegans-pytorch Goto Github PK
View Code? Open in Web Editor NEWPyTorch StyleGAN2, StyleGANの再現実装
PyTorch StyleGAN2, StyleGANの再現実装
the size of weight should be (N, iC, oC, kH, kW)
GTX1080ti (11GB) 以上の環境で動かすことしか想定していなかったため
バッチサイズ16固定としていた
the size of modulated_weight is [N, iC, oC, kH, kW]
the size of demod_norm is [N, oC]
but
this two function has a difficult result I guess
stylegans-pytorch/packaged/run_pt_stylegan2.py
Lines 66 to 79 in d916bc0
as paper said
The activation funtion(Lrelu) is always applied right after adding the bias
you only have bias but not act
reference original repo:
https://github.com/NVlabs/stylegan2/blob/cec605e0834de5404d5c7e5cead7053bdd0e4dde/dnnlib/tflib/ops/fused_bias_act.py#L72-L96
This part code make a filter_kernel:k
parameter of input k is [1, 3, 3, 1]
and after this line the k is:
[4/64, 12/64, 12/64, 4/64]
[12/64, 36/64, 36/64, 12/64]
[12/64, 36/64, 36/64, 12/64]
[4/64, 12/64, 12/64, 4/64]
but your code the FusedBlur3x3
it use filter kernel is :
[1/16, 2/16, 1/16]
[2/16, 4/16, 2/16]
[1/16, 2/16, 1/16]
why?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.