This commit is contained in:
Varuna Jayasiri
2021-05-21 15:05:02 +05:30
parent 8f1da47c4a
commit d449497222
8 changed files with 165 additions and 1 deletions

View File

@ -78,6 +78,7 @@
<li><a href="cycle_gan/index.html">Cycle GAN</a></li> <li><a href="cycle_gan/index.html">Cycle GAN</a></li>
<li><a href="wasserstein/index.html">Wasserstein GAN</a></li> <li><a href="wasserstein/index.html">Wasserstein GAN</a></li>
<li><a href="wasserstein/gradient_penalty/index.html">Wasserstein GAN with Gradient Penalty</a></li> <li><a href="wasserstein/gradient_penalty/index.html">Wasserstein GAN with Gradient Penalty</a></li>
<li><a href="stylegan/index.html">Style GAN 2</a></li>
</ul> </ul>
</div> </div>
<div class='code'> <div class='code'>

View File

@ -0,0 +1,149 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content=""/>
<meta name="twitter:card" content="summary"/>
<meta name="twitter:image:src" content="https://avatars1.githubusercontent.com/u/64068543?s=400&amp;v=4"/>
<meta name="twitter:title" content="Style GAN 2"/>
<meta name="twitter:description" content=""/>
<meta name="twitter:site" content="@labmlai"/>
<meta name="twitter:creator" content="@labmlai"/>
<meta property="og:url" content="https://nn.labml.ai/gan/stylegan/readme.html"/>
<meta property="og:title" content="Style GAN 2"/>
<meta property="og:image" content="https://avatars1.githubusercontent.com/u/64068543?s=400&amp;v=4"/>
<meta property="og:site_name" content="LabML Neural Networks"/>
<meta property="og:type" content="object"/>
<meta property="og:title" content="Style GAN 2"/>
<meta property="og:description" content=""/>
<title>Style GAN 2</title>
<link rel="shortcut icon" href="/icon.png"/>
<link rel="stylesheet" href="../../pylit.css">
<link rel="canonical" href="https://nn.labml.ai/gan/stylegan/readme.html"/>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4V3HC8HBLH"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-4V3HC8HBLH');
</script>
</head>
<body>
<div id='container'>
<div id="background"></div>
<div class='section'>
<div class='docs'>
<p>
<a class="parent" href="/">home</a>
<a class="parent" href="../index.html">gan</a>
<a class="parent" href="index.html">stylegan</a>
</p>
<p>
<a href="https://github.com/lab-ml/labml_nn/tree/master/labml_nn/gan/stylegan/readme.md">
<img alt="Github"
src="https://img.shields.io/github/stars/lab-ml/nn?style=social"
style="max-width:100%;"/></a>
<a href="https://join.slack.com/t/labforml/shared_invite/zt-egj9zvq9-Dl3hhZqobexgT7aVKnD14g/"
rel="nofollow">
<img alt="Join Slact"
src="https://img.shields.io/badge/slack-chat-green.svg?logo=slack"
style="max-width:100%;"/></a>
<a href="https://twitter.com/labmlai"
rel="nofollow">
<img alt="Twitter"
src="https://img.shields.io/twitter/follow/labmlai?style=social"
style="max-width:100%;"/></a>
</p>
</div>
</div>
<div class='section' id='section-0'>
<div class='docs'>
<div class='section-link'>
<a href='#section-0'>#</a>
</div>
<h1><a href="https://nn.labml.ai/gan/stylegan/index.html">Style GAN 2</a></h1>
<p>This is a <a href="https://pytorch.org">PyTorch</a> implementation of the paper
<a href="https://arxiv.org/abs/1912.04958">Analyzing and Improving the Image Quality of StyleGAN</a>
which introduces <strong>Style GAN2</strong>.
Style GAN2 is an improvement over <strong>Style GAN</strong> from the paper
<a href="https://arxiv.org/abs/1812.04948">A Style-Based Generator Architecture for Generative Adversarial Networks</a>.
And Style GAN is based on <strong>Progressive GAN</strong> from the paper
<a href="https://arxiv.org/abs/1710.10196">Progressive Growing of GANs for Improved Quality, Stability, and Variation</a>.
All three papers are from the same authors from <a href="https://twitter.com/NVIDIAAI">NVIDIA AI</a>.</p>
</div>
<div class='code'>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-AMS_HTML">
</script>
<!-- MathJax configuration -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'] ],
displayMath: [ ['$$','$$'] ],
processEscapes: true,
processEnvironments: true
},
// Center justify equations in code and markdown cells. Elsewhere
// we use CSS to left justify single line equations in code cells.
displayAlign: 'center',
"HTML-CSS": { fonts: ["TeX"] }
});
</script>
<script>
function handleImages() {
var images = document.querySelectorAll('p>img')
console.log(images);
for (var i = 0; i < images.length; ++i) {
handleImage(images[i])
}
}
function handleImage(img) {
img.parentElement.style.textAlign = 'center'
var modal = document.createElement('div')
modal.id = 'modal'
var modalContent = document.createElement('div')
modal.appendChild(modalContent)
var modalImage = document.createElement('img')
modalContent.appendChild(modalImage)
var span = document.createElement('span')
span.classList.add('close')
span.textContent = 'x'
modal.appendChild(span)
img.onclick = function () {
console.log('clicked')
document.body.appendChild(modal)
modalImage.src = img.src
}
span.onclick = function () {
document.body.removeChild(modal)
}
}
handleImages()
</script>
</body>
</html>

View File

@ -107,6 +107,7 @@ implementations.</p>
<li><a href="gan/cycle_gan/index.html">Cycle GAN</a></li> <li><a href="gan/cycle_gan/index.html">Cycle GAN</a></li>
<li><a href="gan/wasserstein/index.html">Wasserstein GAN</a></li> <li><a href="gan/wasserstein/index.html">Wasserstein GAN</a></li>
<li><a href="gan/wasserstein/gradient_penalty/index.html">Wasserstein GAN with Gradient Penalty</a></li> <li><a href="gan/wasserstein/gradient_penalty/index.html">Wasserstein GAN with Gradient Penalty</a></li>
<li><a href="gan/stylegan/index.html">Style GAN 2</a></li>
</ul> </ul>
<h4><a href="sketch_rnn/index.html">Sketch RNN</a></h4> <h4><a href="sketch_rnn/index.html">Sketch RNN</a></h4>
<h4><a href="rl/index.html">Reinforcement Learning</a></h4> <h4><a href="rl/index.html">Reinforcement Learning</a></h4>

View File

@ -41,6 +41,7 @@ implementations.
* [Cycle GAN](gan/cycle_gan/index.html) * [Cycle GAN](gan/cycle_gan/index.html)
* [Wasserstein GAN](gan/wasserstein/index.html) * [Wasserstein GAN](gan/wasserstein/index.html)
* [Wasserstein GAN with Gradient Penalty](gan/wasserstein/gradient_penalty/index.html) * [Wasserstein GAN with Gradient Penalty](gan/wasserstein/gradient_penalty/index.html)
* [Style GAN 2](gan/stylegan/index.html)
#### ✨ [Sketch RNN](sketch_rnn/index.html) #### ✨ [Sketch RNN](sketch_rnn/index.html)

View File

@ -12,4 +12,5 @@ summary: >
* [Cycle GAN](cycle_gan/index.html) * [Cycle GAN](cycle_gan/index.html)
* [Wasserstein GAN](wasserstein/index.html) * [Wasserstein GAN](wasserstein/index.html)
* [Wasserstein GAN with Gradient Penalty](wasserstein/gradient_penalty/index.html) * [Wasserstein GAN with Gradient Penalty](wasserstein/gradient_penalty/index.html)
* [Style GAN 2](stylegan/index.html)
""" """

View File

@ -0,0 +1,10 @@
# [Style GAN 2](https://nn.labml.ai/gan/stylegan/index.html)
This is a [PyTorch](https://pytorch.org) implementation of the paper
[Analyzing and Improving the Image Quality of StyleGAN](https://arxiv.org/abs/1912.04958)
which introduces **Style GAN2**.
Style GAN2 is an improvement over **Style GAN** from the paper
[A Style-Based Generator Architecture for Generative Adversarial Networks](https://arxiv.org/abs/1812.04948).
And Style GAN is based on **Progressive GAN** from the paper
[Progressive Growing of GANs for Improved Quality, Stability, and Variation](https://arxiv.org/abs/1710.10196).
All three papers are from the same authors from [NVIDIA AI](https://twitter.com/NVIDIAAI).

View File

@ -47,6 +47,7 @@ implementations almost weekly.
* [Cycle GAN](https://nn.labml.ai/gan/cycle_gan/index.html) * [Cycle GAN](https://nn.labml.ai/gan/cycle_gan/index.html)
* [Wasserstein GAN](https://nn.labml.ai/gan/wasserstein/index.html) * [Wasserstein GAN](https://nn.labml.ai/gan/wasserstein/index.html)
* [Wasserstein GAN with Gradient Penalty](https://nn.labml.ai/gan/wasserstein/gradient_penalty/index.html) * [Wasserstein GAN with Gradient Penalty](https://nn.labml.ai/gan/wasserstein/gradient_penalty/index.html)
* [Style GAN 2](https://nn.labml.ai/gan/stylegan/index.html)
#### ✨ [Sketch RNN](https://nn.labml.ai/sketch_rnn/index.html) #### ✨ [Sketch RNN](https://nn.labml.ai/sketch_rnn/index.html)

View File

@ -5,7 +5,7 @@ with open("readme.md", "r") as f:
setuptools.setup( setuptools.setup(
name='labml-nn', name='labml-nn',
version='0.4.98', version='0.4.99',
author="Varuna Jayasiri, Nipun Wijerathne", author="Varuna Jayasiri, Nipun Wijerathne",
author_email="vpjayasiri@gmail.com, hnipun@gmail.com", author_email="vpjayasiri@gmail.com, hnipun@gmail.com",
description="A collection of PyTorch implementations of neural network architectures and layers.", description="A collection of PyTorch implementations of neural network architectures and layers.",