r/StableDiffusion • u/MapacheD • May 19 '23
News Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold
165
u/BlastedRemnants May 19 '23
Code coming in June it says, should be fun to play with!
46
u/joachim_s May 19 '23
But it can’t possibly be working on a GPU below like 24 GB VRAM?
55
u/lordpuddingcup May 19 '23
Remember this is GAN not Diffusion so we really don’t know
→ More replies (5)13
u/DigThatData May 19 '23
looks like this is built on top of styleganv2, so anticipate it will have similar memory requirements as that
→ More replies (10)11
u/multiedge May 19 '23
I can see some similarity to controlNet and that didn't really need much resources.
17
u/MostlyRocketScience May 19 '23
It is based on StyleGAN2. StyleGAN2's weights are just 300MB. Stable Diffusion's weights are 4GB. So it probably would have lower VRAM requirements for inference than Stable Diffusion.
→ More replies (3)2
u/knight_hildebrandt May 19 '23
I was training a StyleGAN 2 and 3 on RTX 3060 12 GB, but it was taking like a week to train a 512x512 checkpoint to get a decent result. Although, you can train 256x256 or 128x128 (or even 64x64 and 32x32) models as well and it will not be an incoherent noise as in the case when you try to generate images of such size in Stable Diffusion.
And you also can morph images in the same way in StyleGAN by dragging and moving it but this will transform the whole image.
→ More replies (3)→ More replies (1)6
123
u/Ooze3d May 19 '23
Ok. This is another huge step forward.
45
29
227
u/ketchup_bro23 May 19 '23
What a time to be alive! Wow
126
u/PatrickJr May 19 '23
Hold onto your papers!
→ More replies (1)53
u/PotatoWriter May 19 '23
Really really squeeze those papers now
46
u/PatrickJr May 19 '23
I can hear his voice when reading those quotes.
9
u/purvel May 19 '23
He became more and more asmr-esque as time went on. Now he's power whispering and "hyper-inflecting" every word so much I'm completely unable to listen to it any more :( (and I normally love Hungarian-English accents!)
→ More replies (6)0
5
500
u/Txanada May 19 '23
I expected something like this to exist one day but already? D:
Just think about the effect it will have on animation! Anyone will be able to make animes, maybe even real movies. And in combination with translation tools/the newest AI voices... damn!
142
u/arjunks May 19 '23
I'm just waiting for the time I can make my short stories into little animations / short films. I fully expect to be able to at some point
132
u/TheDominantBullfrog May 19 '23
That's what some artists aren't getting about AI when they panic about it. It won't be long until someone becomes globally famous for a movie or show they made on their computer in their basement using entirely their own ideas and effort.
29
u/cultish_alibi May 19 '23
They get that, they're just mad because they spent ages learning how to do something, and monetizing it, and now someone can just do the same thing in their basement on a consumer PC.
This is how new technology always goes, musicians often talked shit about the fact that people can just make music on their own computers now, they talked shit about samplers, etc etc
→ More replies (7)118
u/arjunks May 19 '23
Yeah, I'm with you. The current anti-AI narrative seems to be "yeah but it can't be creative"... of course it can't be creative, that's up to the user! This tech is going to enable so many people to put their ideas out into the world in a presentable form and I'm 100% here for it
45
u/TheDominantBullfrog May 19 '23
Yup it will be a huge adaptation, but fighting against it is like fighting against the internet becoming popular. It's inevitable, so adapt or die
→ More replies (1)→ More replies (38)31
u/GingerSkulling May 19 '23
I completely agree although sifting through all the shit will also become exponentially more difficult.
→ More replies (13)→ More replies (33)11
u/Rahodees May 19 '23
They won't agree that it was entirely the person's own ideas and effort, because they believe SD's training means everything generated by it is definitionally based on others' ideas and effort.
→ More replies (5)11
12
u/Pirraya May 19 '23
short stories into little animations you can definitively do already
11
u/arjunks May 19 '23
Really? I've seen some text to video but it still looks pretty inconsistent to me, unless I've missed something (which is entirely possible)
→ More replies (7)3
May 19 '23 edited May 20 '24
weather judicious far-flung homeless imminent complete flowery silky shame direction
This post was mass deleted and anonymized with Redact
→ More replies (1)9
6
u/Tyler_Zoro May 19 '23
Hi /u/Txanada ... just replying here because I can't reply to your comment below. Yeah, /u/StoneCypher is what I call a "block troll". They drop into random threads, leave a hostile comment like the one below yours and then immediately block the person they responded to so that they can no longer reply.
Did the same to me over in /r/rethinkArt
2
u/Txanada May 19 '23
I see, thank you for telling me :)
I'm a bit sad, honestly. I was just about to tell him I would be "all ears if he wants someone to talk to" accompanied by a generated woman made out of ears :(
It's not just him though. Several people seem overly aggressive today.
→ More replies (1)5
u/justavault May 19 '23
It's a GEN model and it requires specific training for the specific pictures.
This doesn't quite out work incorporated into a model like midjourney. So it's still some way to go.
6
u/iamwearingashirt May 19 '23
I actually think someday sooner than you think, shows like the Simpsons will license their series out for people to make their own personalized AI generated episodes.
→ More replies (2)2
u/LovesFrenchLove_More May 19 '23
I’m more scared about people using this with pictures or us. It’s terrifying.
2
u/2BlackChicken May 19 '23
Time to clear up that facebook and instagram of yours! I've done mine last year thinking ahead :)
→ More replies (3)→ More replies (41)2
u/fingerthato May 19 '23
2023: year of "if you haven't questioned reality, well... you're about to."
53
u/rodinj May 19 '23
What the fuck is happening? I installed Stable Diffusion like 2 weeks ago and in that time there seem to have been some major developments already. Absolutely crazy!
7
u/SomewhatCritical May 19 '23
How does one install this
8
u/dre__ May 19 '23
it's super easy. there's this way. https://www.youtube.com/watch?v=Po-ykkCLE6M Might be some other ways. I saw one where you install "Docker" but that way takes forever to start so I removed it and just used the method in this youtube video.
you can also get a whole bunch of extra models from here https://civitai.com
4
u/crinklypaper May 19 '23
Check out AI Entrepreneur on youtube, his tutorials are super easy to follow. You'll need an nvida video card. And at the min 8GB of vram.
→ More replies (2)11
u/lordpuddingcup May 19 '23
This isn’t SD this is a GAN based model not diffusion as far as I saw which I don’t think the GAN image models have been released yet not sure why
6
u/DigThatData May 19 '23
the pace of AI research just keeps accelerating as it gets more eyes on it, shit's been getting really wild.
5
u/longpenisofthelaw May 20 '23
And what’s crazy is we’re in the the era of dialup level AI in a few years I can see this becoming exponentially more versatile
2
u/Amlethus May 19 '23
I keep saying the same thing. I started paying attention just over a month ago, and what has happened in this time has already been amazing. Iterative progress, giants standing on the shoulders of giants.
2
u/BrokeBishop May 19 '23
I installed two months ago and have felt this way ever since. Its evolving so rapidly. The world is gonna be a different place next year.
2
86
u/Ok_Spray_9151 May 19 '23
This is so beautiful. I think opensource is really something that pushes progress forward
→ More replies (4)7
137
u/opi098514 May 19 '23
Obligatory “A1111 extension when?” Comment.
19
u/extopico May 19 '23
This is a GAN based solution. Automatic1111 is limited to latent diffusion models, stable diffusion in particular, afaik.
→ More replies (4)6
u/cndvcndv May 19 '23
I know this is a meme but a1111 is mostly for diffusion models, would be nice to see gans get implemented on it.
→ More replies (1)10
May 19 '23 edited May 19 '23
xD I was about to ask the same thing, since it's apparently only theoretical/on paper... but given the speed of development with this stuff, we might be seeing this being an addon/extension within a week or two *lol
As soon as it comes to that, someone please notify me, cause I can't keep track of it all myself. xD
71
u/Vabaluba May 19 '23
I wonder what Adobe is doing right now? Probably shitting their pants seeing this 👀
90
u/SomewhatCritical May 19 '23
Good. They’ve been overcharging for years with their predatory subscription model
19
u/Vabaluba May 19 '23
Agree. Hope this pushes them to lower the pricing and their predatory business model. These subscriptions everywhere got to stop. Everything Is a bloody lease nowadays, can't just buy and own things anymore.
5
u/Tomaryt May 20 '23
Actually their suite is extremely inexpensive for everyone making a living with their tools and that is exactly who they are targeting.
Try CAD or 3D software if you want to know what overcharging means. A single app from Autodesk costs 350$ a month and that is only one of their multiple 3D Tools. For many jobs you need 2-3 different ones.
Meanwhile Adobe gives you basically everything a creative person needs (except 3D) for only 60 bucks with the option to get single apps for 10-20 bucks.
I don‘t get how anyone can think this is a lot of money for professional software.
→ More replies (5)47
u/chakalakasp May 19 '23
Lol, no. Probably planning on which AI companies or patents to buy. I’m sure all these tools will live in Photoshop (or some Adobe AI suite of products) some day. They will likely run on cloud compute for a subscription.
→ More replies (2)8
u/Vabaluba May 19 '23
Yeah agree. Most of what is currently available eventually is thought to become included in those big companies products and services. Yet. Open source will prevail!
88
May 19 '23
Add keyframes with those pose and you have a animation software .
Runway gen2 would become obsolete while in Beta, lol
16
8
May 19 '23
[removed] — view removed comment
5
u/GBJI May 19 '23
I am with you on this. Even within the A1111 toolbox we can see this idea at work: it's by combining different approaches together that you get the best results.
18
May 19 '23
What the fuck
Can I get a second to breathe, please?
What's next month gonna bring, and so on?
11
u/Amlethus May 19 '23
June: this
July: developers' hands are too occupied to make progress
August: this, but VR
September: society crumbles
5
25
u/cyrilstyle May 19 '23
Full codes are here --> https://vcai.mpi-inf.mpg.de/projects/DragGAN/
Anyone wanna make it an Auto1111 extension ?? Pretty Please!

This would save me hours of work between photoshop and inpainting!
13
u/Informal_Sea_5738 May 19 '23
code will be available next month
12
u/cyrilstyle May 19 '23
correct! https://github.com/XingangPan/DragGAN
Can't wait :)→ More replies (1)
10
10
23
u/MacabreGinger May 19 '23
I wish we could have that in our Auto1111...
A man can dream. Looks insane.
8
7
6
u/Sandbar101 May 19 '23
Hey remember when Artists said AI could never give you precision if you wanted to make small adjustments?
11
u/ImpossibleAd436 May 19 '23
It's pretty disappointing the amount of time it is taking for this to be implimented as an extension for Auto1111.
This post is from like 6 hours ago.
5
5
u/Own_Pirate_3281 May 19 '23
Au revoir, credible video court evidence
3
u/SameRandomUsername May 19 '23
It was never a good idea to accept digital video as evidence. Now at least everyone agrees.
→ More replies (5)
5
8
4
May 19 '23
Use SD to generate the image. Segment anything to break the image into it's component then objects labeling and annotation to have a list of named object that is then fed to this tool to have full control over the image using llm and voice control.
4
u/mister_peeberz May 19 '23
Hello, woefully uninformed here. Just what in the hell am I reading with this title? Am I on r/VXJunkies?
3
u/bythenumbers10 May 19 '23
Basically, yeah. They've managed to build a retroencabulator that forces correlation between the original image and the desired output through a quantum annealing-like process.
→ More replies (1)3
u/nelsyv May 19 '23
GAN is an acronym for generative adversarial network, it's a type of AI architecture, as distinct from, e.g. diffusion models (as in stable diffusion).
This video is showing a modified GAN that allows a user to "drag" points around in the image and force the GAN to re-make the image with those points moved
4
4
7
3
3
3
3
4
u/_Sytri_ May 19 '23
Welcome to the new world where you can’t trust anything and your parents fall deep into rabbit holes they warned us about growing up.
→ More replies (4)
2
2
2
u/tempartrier May 19 '23
Humanity is doomed! hahahaha At least as it keeps believing that what it sees on screens is reality.
2
2
2
2
2
u/CriticalTemperature1 May 19 '23
This process is theoretically possible with diffusion models it's that GANs are more efficient. Potentially a LoRA could be trained to enable this for SD
From the paper Diffusion Models. More recently, diffusion models [Sohl-Dickstein et al. 2015] have enabled image synthesis at high quality [Ho et al. 2020; Song et al. 2020, 2021]. These models iteratively denoise a randomly sampled noise to create a photorealistic image. Recent models have shown expressive image synthesis conditioned on text inputs [Ramesh et al. 2022; Rombach et al. 2021; Saharia et al. 2022]. However, natural language does not enable fine-grained control over the spatial attributes of images, and thus, all text-conditional methods are restricted to high-level semantic editing. In addition, current diffusion models are slow since they require multiple denois- ing steps. While progress has been made toward efficient sampling, GANs are still significantly more efficient
2
u/Sirisian May 19 '23
This kind of research will be insane for improving 4K@60Hz upscalers/interpolators. Using a fine-tuned model on the source might be enough to prevent artifacts.
2
2
2
u/delmore898 May 19 '23
Wow, this sounds like an incredibly innovative and exciting development in the world of GANs! I'm so glad to see researchers pushing the boundaries of what these powerful tools can do. Keep up the great work!
2
u/game_asylum May 19 '23
You can't stop, you can't stop progress, you can't stop, you can't stop it no no no -Neil Fallon
2
2
May 20 '23
It's extremely impressive, that being said, notice how there's a model per subject, it's probably not as performant or applicable as this video would have you believe.
Still very cool.
2
u/ImpossibleAd436 May 20 '23
Good observation.
This begs the question, did the model:
A) learn from images, or more likely video frames, of that particular subject, involving those particular movements. I.e. was a video of that particular lion opening it's mouth, used for training.
Or
B) learn from a varied data set of multiple lion images, different lions, different poses and expressions, different lighting conditions and backgrounds etc.
B) would obviously be far more impressive than A). Given that the backgrounds change somewhat, perhaps it was B). But we really need to understand what was used to train these models to know whether they have a deep understanding of the subject in general, or if they are extremely tuned to the image being manipulated.
I remember being very impressed with thin-plate spline motion until I realized that the models required training on the input video in order to give good results.
2
2
2
3
2
u/ketchup_bro23 May 19 '23
Is this real-time on a mid spec pc?
4
May 19 '23
It looks sped up and is probably on a higher end PC. It will be optimized down to mid spec in time I’m sure. It’s not even out yet though
2
2
2
1
1
1
1
1
May 19 '23
So it would possible by having control-net detect the various key-point of a pose, to automatically animate it walking or doing other stuff?
1
1
u/Randomized0000 May 19 '23
THIS IS UNSTABLE
(Autocorrect, was supposed to say insane but whatever lol)
1
1
u/Realistic-Praline-70 May 19 '23
Where can I get a program to use stable diffusion like this? The only ones I have seen are the web based ones
1
1
1
1
1
1
1
1
u/1Neokortex1 May 19 '23
Cant wait to put my scripts into full aniamtions, thanks for the inspiration!🙏🏼
1
1
1
u/plHme May 19 '23
I’m not fully know what GAN is, but been using Stable Diffusion/A1111 for some months. Is this SD? Not understand why it’s on SD/this Reddit? Someone more into the tech can explain. Looks cool though!
1
1
u/Skwareblox May 19 '23
This is like fake ideas for stuff they had in mind in movies in the 80s and 90s now it’s real. Scary because now you’ll never be able to trust a tinder profile ever again.
1
1
1
1
May 19 '23
And there folks brings an end to the modelling and photography industry, along with any trust you could have in seeing being believing.
1
1
1
u/inagy May 19 '23
That's cool and all. (actually I've lost my jaw somewhere on the floor, however that happened quiet a few times in the past months to be honest)
But what kind of hardware can render this at such speed in real time? Definitely not a consumer GPU.
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
May 20 '23
I'm not sure I get how this is possible lol.
But that makes me feel like my idea of 'quick sketching your prompt back so you know the AI understands you' before sending it on a mission' should be possible.
1
1
1
1
u/Wllknt May 20 '23 edited May 20 '23
Wow, this is really good if it works on smaller vram. I will wait for this to come out and play with it.
1
1
1
1
1
1
1
1
1
u/BloodMossHunter Aug 20 '23
wait what the fuck , all this time the ENHANCE in movies was actually realistic!?
1






308
u/MapacheD May 19 '23
Paper page:https://huggingface.co/papers/2305.10973
From Twitter: AK en Twitter: "Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold paper page: https://t.co/Gjcm1smqfl https://t.co/XHQIiMdYOA" / Twitter