lightweight-gan
stylegan2
Our great sponsors
lightweight-gan | stylegan2 | |
---|---|---|
10 | 40 | |
1,599 | 10,753 | |
- | 0.2% | |
3.2 | 0.0 | |
over 1 year ago | about 1 year ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lightweight-gan
-
[D] My embarrassing trouble with inverting a GAN generator. Do GAN questions still get answered? ;-)
GAN details: I trained using the code from https://github.com/lucidrains/lightweight-gan, image size is 256, attn-res-layers is [32,64], disc_output_size is 5 and I trained with AMP.
-
I trained AI to generate OMORI image
Long short story, i trained AI called 'Lightweight' GAN with some image from the game (Steam version). The result isn't satisfying (either too similar with original image or distorted), but i decided to share it since it took 3-4 days.
-
Imagined ML model deployment on normal machine, is it possible?
Code for training your own [original] [simple] [light]
-
[P] - These Nebulae Do Not Exist
Trained lightweight-gan on public domain nebulae images. The blogpost covers how it was assembled end-to-end, from data scraping, to model training, and finally deploying it as a web app using free cloud services only
- Questi politici italiani non esistono
-
It begins! [Sixth World Music Comp Update]
https://github.com/lucidrains/stylegan2-pytorch is the simplest implementation I know of, and https://github.com/lucidrains/lightweight-gan is similar but designed for relatively lower performance machines.
- Bow Generation Using Lightweight GAN (In Progress)
-
GAN-generated Minecraft skins
I also regret using https://github.com/lucidrains/lightweight-gan over the standard StyleGAN2. The training time wasn't an issue for 128x128 images and I should have gone for the higher quality model.
- GAN-generated "Now That's What I Call Music!" CDs
-
GAN-generated "Now That's What I Call Music!" covers
It's hard to tell if the medicore results are due to the small dataset (~305 semi-aligned images, yes there's that many of these) or my own inexperience in GAN generation (i used https://github.com/lucidrains/lightweight-gan and the only changes i made from the defaults were to decrease the batch size and add color augmentation)
stylegan2
-
Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold
I don't know. If you're really curious, you can just try it: https://github.com/NVlabs/stylegan2
-
Used thispersondoesnotexist.com, then expanded it with DALL-E
StyleGAN2 (Dec 2019) - Karras et al. and Nvidia
-
Show HN: Food Does Not Exist
> The denoising part of a denoising autoencoder refers to the noise applied to its input
Agree, it converts a noisy image to a denoised image. But the odd thing is, when you put a noisy image into a StyleGAN2 encoder, you get latents which the decoder will turn into a de-noised image. So in practical use, you can take a trained StyleGAN2 encoder/decoder pair and use it as if it was a denoiser.
> These differences lead to learned distributions in the latent space that are entirely different
I also agree there. The training for a denoising auto-encoder and for a GAN network is different, leading to different distributions which are sampled for generating the images. But the architecture is still very similar, meaning the limits of what can be learned should be the same.
> Beyond that the comparison just doesn't work, yes there are two networks but the discriminator doesn't play the role of the AE's encoder at all
Yes, the discriminator in a GAN won't work like an encoder. But if you look at how StyleGAN 1/2 are used in practice, people combine it with a so-called "projection", which is effectively an encoder to convert images to latents. So people use a pipeline of "image to latent encoder" + "latent to image decoder".
That whole pipeline is very similar to an auto-encoder. For example, here's an NVIDIA paper about how they round-trip from image to latent to image with StyleGAN: https://arxiv.org/abs/1912.04958 My interpretation of what they did in that paper is that they effectively trained a StyleGAN-like model with the image L2 loss typically used for training a denoising auto-encoder.
- "Why yes I totally believe the 'Xinjiang Police Files', they got photos of REAL (100% not AI generated) detainees!"
-
How did they code Viola AI (face to cartoon)
These problems are usually done with CNN Encoder-Decoder frameworks. Usually GAN (Generative Adversarial Networks see StyleGan2).
-
AI morphs many faces together to all sing Scatman
This is the result of two different models. The first looks like a latent space interpolation of StyleGan2 and the mouth movements are without a doubt from wav2lip.
-
What A.I. tool is this?
OP: if you want to run this at higher resolution, you should probably look at running it yourself, using something like this: https://github.com/NVlabs/stylegan2
-
Imagined ML model deployment on normal machine, is it possible?
StyleGAN2 (Dec 2019) - Karras et al. and Nvidia
-
I'm implementing StyleGAN2 with Keras. I was worried it wasn't working, but after some 300K training steps it's finally starting to converge. (+ plot of what the first (4x4) part looks like)
A few of you might've seen an earlier post of mine about this project (Or the repost that got more upvotes 🙃), and I've improved the code and network since then after more thoroughly reading and understanding the official StyleGAN2 implementation.
-
Is it just me or has Google Colab Pro become a lot more restrictive lately?
So I've been a Pro+ subscriber since around November which I mainly use to train GANs. I have multiple Google accounts, let's call them Account 1, 2, and 3. Accounts 1 and 2 are normal Google accounts and Account 3 is an account I got from my university after I graduated which has unlimited storage.
What are some alternatives?
anycost-gan - [CVPR 2021] Anycost GANs for Interactive Image Synthesis and Editing
Wav2Lip - This repository contains the codes of "A Lip Sync Expert Is All You Need for Speech to Lip Generation In the Wild", published at ACM Multimedia 2020. For HD commercial model, please try out Sync Labs
HyperGAN - Composable GAN framework with api and user interface
stylegan - StyleGAN - Official TensorFlow Implementation
pi-GAN-pytorch - Implementation of π-GAN, for 3d-aware image synthesis, in Pytorch
pix2pix - Image-to-image translation with conditional adversarial nets
ALAE - [CVPR2020] Adversarial Latent Autoencoders
stylegan2-ada - StyleGAN2 with adaptive discriminator augmentation (ADA) - Official TensorFlow implementation
gigagan-pytorch - Implementation of GigaGAN, new SOTA GAN out of Adobe. Culmination of nearly a decade of research into GANs
stylegan2-pytorch - Simplest working implementation of Stylegan2, state of the art generative adversarial network, in Pytorch. Enabling everyone to experience disentanglement
lucid-sonic-dreams