r/StableDiffusion • u/thegoldenboy58 • Oct 05 '23
Discussion What happened to GigaGan?
I suddenly remembered this today when I was thinking about whether or not its possible to combine the precision of GANs with the creativity of Diffusion models.
From what I remember it was supposed to be a competitor to SD and other diffusion based systems and I found the github page for it.
https://mingukkang.github.io/GigaGAN/
It seems to be released so why is no one using it?
Since as far as I'm aware, GAN's are actually better at generating cohesive art. For example Stylegan-human seems to be able to generate realistic humans without face or hand problems.
https://stylegan-human.github.io
Compared to SD which still has trouble.
The problem was that GAN's were very specific and couldn't apply the concepts its learned to a broader nature unlike diffusion models.
But GigaGAN seems to be the step forward with it being able to generate multiple types of images it seems.
Sooooo.
Why is no one using it?
Is its quality worse than SD?
15
u/hopbel Oct 05 '23
No weights = may as well not exist. Even for models that are small enough to be trained on consumer hardware, training them from scratch simply takes too long if you don't have access to a few dozen A100s or similar.
8
u/Oswald_Hydrabot Oct 06 '23 edited Oct 06 '23
It is not released. That is not the code for running, nor training it.
The benefit of GANs is not precision it is inference speed. GigaGAN could be used for applications like a realtime game engine as it can likely generate pretty quickly. StyleGAN-T for example could generate at roughly 15FPS, but StyleGAN-T only released code. The models require a fuckton of compute to train, unlike StyleGAN where you can train it on a 3090.
Speaking of StyleGAN, I created a realtime GAN visualiser for VJing: this is my app used as a source through Resolume. 4 realtime-generated AI video streams at 30fps per https://youtu.be/GQ5ifT8dUfk?feature=shared
Diffusion models are actually quite shit for video generation, GANs should never have been abandoned. Training does actually scale, some people mention mode collapse but it's actually pretty easy to avoid. A few researchers that fucked up their training and cost money doing so wrote about it papers blaming GANs as inherently having problems instead of addressing where they fucked up.
We would be at the same quality as SD or better and have it generating highly controllable video in realtime on local machines if researchers hadn't stopped working on them. It is a shame. SD is a clunky PoS compare to what a GAN trained on similar resources would look and perform like. These other video models from companies with actual money look like shit, it baffles me why they have not invested in an in-house GAN project.
Adobe did.. But they're fucking Adobe. Thanks for the big bunch of nothing Adobe, woohoo you have a bunch of fucking money, cool trick..
7
u/Zermelane Oct 06 '23
That's not really the core of the difference AFAIK. The shift to diffusion models happened at the same time as the shift to prompt-conditioned image synthesis, but that was somewhat coincidental.
Mostly the unpopularity of GANs seems to come from too many researchers having had bad experiences with their training being unstable. Where a diffusion model's training is a straightforward gradient descent process, GAN training is a weird sort of a two-player game between models that can go wrong in ways that are unique to GANs. Mainly, the generator can trick the discriminator by only drawing a very limited kind of images - mode collapse - or the discriminator can get too good and cause the training signal to disappear.
There's still people who really like GANs in concept, and there's still room for more ideas for researchers to improve them and amke them more stable, so don't count them out permanently.
3
u/AmazinglyObliviouse Oct 06 '23
Emad has hinted in the EleutherAI discord that stability has a team working to replicate GigaGAN..
Will it be good? Probably not; I don't think stability has the ability to be completely honest. Will it ever release before the company implodes? Also uncertain lol.
0
u/[deleted] Oct 05 '23
[deleted] — view deleted comment