Тёмный
No video :(

Make Bigger Images in SD: Pros and Cons for Outpainting, Hires Fix, Img2Img, and ControlNet Tile 

SiliconThaumaturgy
Подписаться 4,8 тыс.
Просмотров 8 тыс.
50% 1

Today, you are going to learn how to make bigger images in Stable Diffusion. There are many ways to do this, including adjusting the base resolution, outpainting, Hires Fix, Img2Img Upscaling, Ultimate SD Upscale with ControlNet Tile, and simple upscaling.
For each of these, I will discuss the pros and cons along with potential pitfalls. Once we’ve covered them all, we will use that information to suggest where these tools belong in your workflow
To round things out, I will give suggestions on what resolutions you should target for digital and printed media then talk about how adding more stages of upscaling impacts image quality for better and worse.
Intro - 00:00
Base Resolution - 00:56
Base Resolution with ControlNet - 01:25
Outpainting Overview - 02:10
Outpainting Pros and Cons - 03:19
HiRes Fix and Img2Img Upscaling - 04:08
HiRex Fix versus Img2Img Upscaling - 05:30
Pros and Cons for Both - 06:18
Tile-based Upscaling - 07:14
Ultimate SD Upscale with ControlNet Tile - 07:40
Ultimate SD Upscale Pros and Cons - 08:41
Simple Upscaling in Extras - 09:55
The Big Picture - 10:55
Deciding on a final resolution - 11:59
Upscaling Stages and Workflows - 13:46

Опубликовано:

 

16 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@user-ls3hp7ys6j
@user-ls3hp7ys6j Год назад
Something to add, the multidiffusion-upscaler-for-automatic1111 extension under Available in A1111 comes with something called Tiled VAE which with default settings allows my 8GB GPU to do 2x Hires. fix upscaling where it normally would get CUDA memory errors. Worth taking a look at as well, and I assume this can allow a high end GPU to push even further as well. This option is also available under Img2Img, though I have not experimented with it yet there. My assumption would be that it allows for even higher upscaling in that tab also. Multidiffusion is another tiled upscaler solution btw., although I haven't played too much with that part of it yet so no idea how good that is compared to the Ultimate SD script.
@siliconthaumaturgy7593
@siliconthaumaturgy7593 Год назад
You're not the only one mentioning this extension and it seems very promising indeed. I'm in the process of testing it. Pinning this comment since its a more succinct explanation.
@dc443
@dc443 Год назад
this is spectacular information, thank you for going into 10x more depth than anyone else I've seen along with visual examples and guides.
@sunshineyon00
@sunshineyon00 11 месяцев назад
I love your diagrams and explanations and humor. A+
@jakeb2553
@jakeb2553 Год назад
Seriously awesome content man. Keep it up. Not enough good video tutorials for A1111 and SD out there. Subbed.
@siliconthaumaturgy7593
@siliconthaumaturgy7593 Год назад
Thanks! I really appreciate it
@elscientist
@elscientist Год назад
Note that you can add upscaler_for_img2img to your Quicksettings list so it will show up at the top instead of having to go to options to change img2img upscaler. (i usually add vae and clip skip too)
@mattham3850
@mattham3850 Год назад
There is an incredible amount of info in this video - all very clearly laid out with out any "Puff & Fluff" like alot of other ones. I learnt a lot of snippets of info. I find another handy feature of the image to image tab for resizing is the Batch tab. I'll generate a large batch of images at a lower res & skim through them and delete a heap that i dont want, then I'll "Batch Upscale" the whole folder using the Img2Img features (the upgrade to the slider for size was a saviour for this because it means you can mix Portrait & landscape orientation in the folder & you can also do a bit of cropping when you are choosing the generations to upscale & it will just do a blanket multiplier regardless of the orig dimensions). Keep up the good work 🙂
@Kevlord22
@Kevlord22 2 месяца назад
man, i always had the trouble of not having script under controlnet like in all the videos i saw... but its literally just at the bottom, i just had other stuff before. I stupid, but glad i found it.
@shawnlee5956
@shawnlee5956 Год назад
details and helpful info, thanks.
@amarnamarpan
@amarnamarpan Год назад
This was awesome. Simply the best workflow for great consistent upscaling.
@BabylonBaller
@BabylonBaller Год назад
Amazing the overview bro 🙏🙏
@CaptainPanick
@CaptainPanick Год назад
Thank you so much for all the effort that you put into this!
@kbystryakov
@kbystryakov Год назад
1) I get best results with latent upscaler - HiresFix settings: Latent (nearest-exact), denoise 0.63, hires steps = txt2img steps / 2 You can use Latent upscaler in img2img too. 2) The choice of sampler affects the upscale result: try different, in that order: DDIM / SDE / 2M, 2S Euler a sampler makes everything more blurry, imho 3) Use Tiled VAE (adjust tile size) - if you have CUDA memory error 4) Use different checkpoint (model) for upscale in img2img, for experiments
@gleb_budnic
@gleb_budnic Год назад
Hey man, earned my subscribtion. One of most elaborate ordered and thoughtful essays on the theme.
@iAzajar
@iAzajar Год назад
@SiliconThaumaturgy, I started learning about SD--and AI in general, just some weeks ago (literally from square zero). You were among the very first RU-vidrs I saw. I'm very technical & thorough, your videos were technical & thorough. But more than that, it was practical. There are many AI channels out there just as technical as yours, but the vast majority of what they're talking about can't really be applied to what I needed to do. There are also many who's just as practical as you, but they lack your technical depth. So in that sense, you're unique, or at least very rare. When I wanna learn something, I do it really fast, w/ zero BS. So I sat down and finished every single one of your content in one sitting (yes, every single one), after eating a quick midnight snack. (My friends say I'm scary like that.) But I'm still subscribed to you, and besides your newer videos like this one, I still sometimes go back to your earlier ones for stats/reference. Like your Samplers video, it's getting a bit long in the tooth, but it's still useful when I need to review which "group" a sampler belongs to (I know it's not really an official grouping, but that's how you termed it). So keep your content like that, and you'll keep subscribers like me--to infinity & beyond. Now a query, if I may: I'm actually glad that you did an Upscaling topic, because there's not much content out there regarding it--at least NOT the technical and thorough and practical kind that I like--and I was actually hoping you'd do one. So it's really great that you did, but my question is, why didn't you include MultiDiffusion Upscaler (MDU from this point on) in this analysis/guide video? I'm presuming you already know it (coz I'm really new & I do), but just in case you don't, it's a suite/package of VERY useful extensions for SD/A1111, like Tiled Diffusion (this is the main upscaler), Tiled VAE, Regional Prompt Control, etc. I know you said in the video that you're only including "default" upscalers/extensions like Ultimate SD Upscaler (USU) & ControlNet Tile (CNT), but what disqualifies MDU from that criterion? 1) You still need to separately install USU & CNT (not to mention their associated models), just LIKE MDU. In fact, beyond that, if you go to A1111's Wiki section, MDU is actually listed there as a major Feature of Automatic1111, just like USU & CNT, so it's not any "less default" than them. And that's putting aside the fact that its ubiquity AND popularity in many install bases make it "de facto default". 2) Just like USU, MDU teams up really well with CNT. In fact, I've read creator/user reports from CivitAi, Reddit, etc. that it's actually better than USU. I have no scientific data to back that up (I was actually hoping you'd do an analysis on 'em weeks ago), but I HAVE used all 3 of them, and at the VERY least, I CAN attest to the fact that MDU can go toe-to-toe with USU, in terms of quality and/or performance. 3) If you want to, MDU can be used very early in the workflow, even in T2I (with or without CNT), UNLIKE USU--for what it's worth. 4) As I've mentioned, it's actually a suite of tools, and its siblings ain't no slouches either (check 'em out). So I'm a BIT disappointed, because I really wanted to hear your thoughts on MDU, ESPECIALLY in relation to CNT & USU. Obviously, you can't modify the published Upscaling video now, but perhaps you can do an addendum video, or something like that. Anyway, aside from that single strange omission, this video is still very technical and thorough AND practical, and I still really like it. I'm definitely bookmarking it for later reference. So good job. BTW, while we're on the subject of Upscaling, you once said in one of your EARLIEST videos--I think it was the Hires Fix one--that you were gonna put together something about Upscalers, as "they deserve a whole other video of their own", or somethin' to that effect. In fact, you even kinda alluded to it again in THIS video right here. (Yes, I never forget.) So, consider this the text(ual inversion) equivalent of that old GIF meme with the old guy, "WELL? We're waiting..." Heh. Keep up the awesome work, have a great day, and cheers. 😊 PS: You might also wanna update/addendum your older CFG Scale video w/ Dynamic Thresholding, and your newer Inpainting video w/ LLuL (Local Latent upscaLer) & ADetailer (After Detailer). Yes, I've used them, but I'm still very new & learning (just like a new AI), and I like and respect your analysis & advice. So I'm still very curious about your final judgement or recommendations regarding them.
@iAzajar
@iAzajar Год назад
@SiliconThaumaturgy, by the way, I was going to include this in my previous comment as another reason you should've included MultiDiffusion Upscaler/Tiled Diffusion in your Upscaling guide, but I simply ran out of time and forgot, LOL: NOBODY else has done it on RU-vid. Searching for it on YT, I saw one English channel (actually,it was talking about a component/sister extension,Tiled VAE), a couple of Chinese ones & a Japanese channel mention it, but that's about it. On the other hand, there are dozens--if not hundreds--of videos on Ultimate SD Upscale & ControlNet Tile. They've already been done to death. And that's NOT what you're about, correct? In your earliest videos, I remember you saying that you like handling the less-talked-about parts of Stable Diffusion/Automatic1111. Which is EXACTLY why we liked your analyses/guides so much. 😏 Anyway, good luck and cheers.
@siliconthaumaturgy7593
@siliconthaumaturgy7593 Год назад
Thanks, I appreciate the feedback. My goal for this channel was alway to provide the kind of “dense” content that I would want to see if I was a viewer. As for video topics like upscalers, it is both a blessing and a curse to have so many ideas that I can’t make videos on all of them. Still contemplating an Upscaler vid, though I’m trying to decide whether the level of difference between the different upscalers will come across decently in a lossy, compressed RU-vid video. Admittedly, using a 24GB card has given me a bit of a blindspot because tile-based tools have been less necessary for me than the average user due to being able to get past 1440p without them (and also because their quality wasn’t as great prior to ControlNet Tile). Since the community moves so fast, I don’t think anyone can be an expert on every aspect and I’m no exception. What I can commit to is thoroughly testing every feature I put out a video on so I know you and the other viewers are getting the best information possible. After trying it out, MDU probably deserves its own video especially since you aren’t the only one asking about it. First impressions are that MDU upscaling does have better quality than Ultimate SD upscale, but when artifacts occur they’re much bigger. I'm committed to ControlNet Reference preprocessors as my next major video, but after that, this seems like a good option.
@iAzajar
@iAzajar Год назад
​@@siliconthaumaturgy7593 Hi, again. First of all, I apologize for the late reply--especially after you replied so quickly to my comment (I'd been really busy IRL to even drop by RU-vid for a week or so; in fact, we just finished watching your latest video just minutes ago, LOL). Secondly, my mentioning of those missing or outdated things isn't a criticism, at all. I was just "saying out loud" what videos you might wanna update 'coz of new developments (if you wish to), and what items/points you might wanna include in a potential update. As you said, things are accelerating so much in the AI field, that even I--as a TOTALLY-ZERO beginner just weeks ago--am starting to see that the earliest lessons I learned from you (& other folks) have started to become "old-school". ONLY in this crazy AI world have I seen a complete & utter dove-in-blind newbie turned into a TRADITIONALIST conservative old-hand, in just a matter of weeks, hah. And you might have noticed I didn't mention all your videos. If anything, I was actually giving you credit for creating content ROBUST enough to still be relevant AND useful enough for me/us to come back to repeatedly--in this universe where weeks are equivalent to years (kinda like AI dog years/Relativity). So yeah, no worries, a lot of your stuff are still in good shape. As for your plans for the next CN videos, yes, please do! I'm just as in-love with ControlNet as the next person, especially since I came in right when CN itself was a weeks-old newborn. People were talking about it (on YT & the Net in general) like it was breaking news from Independence Day (& I couldn't even understand what they were talking about,lol). So you could say I have "history" with CN, like a twin sister/brother, heh. And please, take your time with MDU & its "family". I know your cooking/tastes now, chef, so if anything, I'd want you to slow-stew it for as long as you need/want to. Same thing with the Upscalers. I was just giving ya a friendly elbowing, but seriously, I know full well it's an insane Cthulhu maelstrom on its own (this is a reference to your earliest videos' intros,wink-wink). So good luck with whatever plan/strategy you can come up with on how to best handle/tame it. (E.g., you can use extreme zoom levels on the pixels to partially counter YT's compressions? It's your call, captain.) Thanks again for the great content, have a great day, and cheers! ❤
@snowflakeandyou5983
@snowflakeandyou5983 Год назад
this is what I'm looking for! I'm learning this A111...thank you for this..
@lenny_Videos
@lenny_Videos Год назад
Thanx for this amazing video
@Kryptonic83
@Kryptonic83 Год назад
Great video, thanks!
@chriss3154
@chriss3154 Год назад
WOW! It seems you covered everything! This is a great video and might be the best on youtube for comparisons on this topic! I have tried most explained in this video. I work alot with portraits and I gravitate to img2img upscale x2 with denoise around 0.1 to later upscale again with UltraSharp x2 in both steps using restore face. ControlNet is super important for good and consistent output. The image output are amazing and the faces are almost so good they become 3D popping out of the screen. However I'm working infront a 43" 4k TV screen. Anyway great explained!
@BF-non
@BF-non Год назад
Love this type of content!!
@iwasapirateonce1639
@iwasapirateonce1639 Год назад
Very interesting video. I do find that Latent upscale gives by far the best results for photoreal images, with a max scale factor of 1.5 and denoise of around 0.45-0.5. The issue is it tends to ruin a decent % of images. Do you know if there is any way to use tile_resample inside Hires Fix?
@farhang-n
@farhang-n 3 месяца назад
Thank's alot
@mauricesteiner8168
@mauricesteiner8168 Год назад
you're my hero, I'd do anything to get on a call with you for 15 minutes
Далее
Вся Правда Про Хазяевов !
41:02
Просмотров 1,8 млн
Upscale from pixels to real life
20:43
Просмотров 13 тыс.
Simple, Non-Commercial, Open Source Notes
30:25
Просмотров 796 тыс.