What just changed?! Resulting images with same prompt and seed are now terrible. #6217
Replies: 18 comments 56 replies
-
yes, I have horrible results too, double / triple head, etc... thanks |
Beta Was this translation helpful? Give feedback.
-
Hi res fix is downgraded, that's why |
Beta Was this translation helpful? Give feedback.
-
I can confirm this. Results are now bad, ugly images. If I use exactly same prompt, seed and model which gave me beautiful photos. Now I get ugly images, double bodies, double heads etc. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The new Highres. Fix mode is actually pretty simple. Previously, width * height represented the final canvas size, and we've been working backwards. Using Highres. fix properly meant doing math if you wanted to preserve the aspect ratio. It was very easy to select nonsensical settings like e.g. a final canvas width of 512 with an initial generation width of larger than 512, or just selecting Highres. Fix when you had a canvas size of 512x512 on a 512x512 model. "Upscale by." just does what it says: It multiplies your initial width * height settings by the specified multiplier. That's why the new mode seems strangely slow - you're probably selecting a high width * height and then scaling more on top of that. You'll have to play with the denoising attribute to get results you want. Latent scaling was the old default and now you have the ability to go directly to the other scaler modes without doing img2img, which is also neat. So the new Highres. Fix actually does what I wanted it to, but all the changes made it initially hard to understand what's going on. Giving independent scaling for x and y axes would be welcome for the rare cases people want that. |
Beta Was this translation helpful? Give feedback.
-
Before: if any of the firstpass sliders = 0, the image was always generated at 512x512 then resized to the resolution set on the regular width and height sliders, which caused the image to get cropped if it tried to fit non square ratios Old example with 1280x768: Alternatively, need to use an external calculator to calculate better firstpass values, https://preyx.github.io/sd-scale-calc/ To prevent cropping, set firstpass to half the target res, which can cause images to get generated even further below 512 and is less optimal tl;dr it was a hassle Now: the image gets generated at the resolution set by the regular width and height sliders, then multiplied by the Upscale by slider = final resolution One new example with 1280x768: Basically the regular width and height are now what the old firstpass sliders were. It's much simpler. However, yes, this does mean it "negates" some of the original point of high res fix to prevent double bodies and weird generations with resolutions higher than 512x512, and is now more of an upscaler, but the fix is simple by setting your res to 512x512 then adjusting the Upscale by slider, or sticking closer to 512 for non square ratios. The benefit of this is that there's more freedom of experimenting with different resolutions and ratios, or at least the same freedom that the old firstpass sliders provided really, with the added benefit of the multiplier. If you don't have If you didn't mind or liked the cropping on non square ratios, you could set your res to 512x512, Upscale by 2 or a bit above 2.1 depending on your VRAM, then use img2img to resize that, or manually crop and resize it externally. It is more of a hassle, but you'll at least get more controlled cropping than the old method did. If you only do 1024x1024 images or square ratios then you only need to set your res to 512x512 and Upscale by 2 or above depending. tl;dr the old firstpass sliders are now the regular width and height sliders. The one thing that would be cool, is if the Upscale by slider showed the actual final resolution below it, just to make it more clear. I'm nowhere near a real coder, but this is how the old code looked like when I made #5382. It shows that firstpass = 0 was hardcoded to generate 512x512 images and then scaled those.
|
Beta Was this translation helpful? Give feedback.
-
With latest commit: |
Beta Was this translation helpful? Give feedback.
-
What does "high res steps do" is there an explanation of this new method? |
Beta Was this translation helpful? Give feedback.
-
After today's upgrade the AI was generating different pics even though I'm using same prompts, model and seed, same everying. Infact I'm using PNG Info to analyze pics then sent to txt2img but it still generate different pics. e672cfb Was there any older branch like one week earlier available? |
Beta Was this translation helpful? Give feedback.
-
KINDA FIGURED IT OUT. Basically you have to set your starting width/height to something that the model was trained on ie 1.5 model (512/512) you don't want to go far beyond that aspect. Then you set your high-res fix width/height to what you want the final result to be. If you're using latent option then set your steps to around .5-.7 (anything less or more) seems to produce either very blurry images or double heads etc. Now it seems to work... Although I'm not sure why they re-wrote it this way, b/c this seems just MORE work. |
Beta Was this translation helpful? Give feedback.
-
Ok, after some more tinkering and experiments, I think, in general, the new new Highres fix, that has the "Resize to" sliders is actually superior, but it needs a lot more manual work from the user to the point of being impractical for most scenarios. I don't think it's possible that new users will figure out how to use it properly, and an automatic mode that sets the original resolution for the user or emulates the old "one checkbox wonder" behavior would be cool. Here's how you use the new Hirgres. Fix:
Using these settings I get decent results most of the time, sometimes better, sometimes worse. The worst thing about this new Highres fix. is that from the UX perspective it's just a mix of parts pulled from the extras and img2img tabs that is impossible to figure out without a guide. More or less advanced users were always able to do exactly all of this using the Extras tab and ing2img. Generate - resize - refine in img2img. Less experienced users will click the Highres fix checkbox, see that it doesn't do anything with the default settings, see a lot of settings and nope out. Some will figure out that they have to set the steps to a non-zero value and will see that now it takes several times as long to generate an image and the result is still bad and then nope out. In my opinion, the txt2img tab is not the best place for all of this as it just duplicates the functionality present somewhere else in the ui. As I mentioned in the opening paragraph, a one button solution that figures out the settings for the user that work most of the time would suffice. If you want it to work with models of different picture sizes, just make a single field for entering the model base size and let the computer do the rest of the math. |
Beta Was this translation helpful? Give feedback.
-
I talked to the creators of openOutpaint and they implemented a fallback solution for everyone reverting to an older version because of this new implementation. I tested it and openOutpaint works as expected again with an older version of this repo. They responded quickly to this issue and are really professional about it. Premium extension right there. edit: Clarification: everyone on an older version can just ignore the new settings and it will work like before |
Beta Was this translation helpful? Give feedback.
-
If anyone's wondering what's been working for me is this: If I set my original image higher than the standard for the model, like, 512x1080 etc, it seems to always fail. I heard in a forum that setting below the standard works fine, if you want better aspect ratio handling, i.e. 384x512, etc. |
Beta Was this translation helpful? Give feedback.
-
I can't seem to reproduce my non hires fix generations too, I double checked my prompt, seeds, hash model, samplers, steps, clip skip, ensd but the newer output is different from the old one. |
Beta Was this translation helpful? Give feedback.
-
OLD VERSION
OR
TO RETURN TO NORMAL VERSION
|
Beta Was this translation helpful? Give feedback.
-
To bring old Hires.Fix and move "new buggy" as extension script pls vote/comment for: |
Beta Was this translation helpful? Give feedback.
-
Go in settings, compatibility, and make sure the 1 about hires fix is checked |
Beta Was this translation helpful? Give feedback.
-
Also make sure if you're using high res fix to not use the Latant upscaler or really any of the others besides the 2 R-ESRGAN 1s are garbage but default is latant. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just updated to commit 4dbde22 and not getting good results. Exactly the same prompts, settings and seed are not giving the same as before, and I'm getting a lot of body horrors.
Edit: I think it may be related to the hires fix. I'm making 1024x768 images and hires fix used to get rid of body distortions...it's not any more. No distortions with lower res images.
Beta Was this translation helpful? Give feedback.
All reactions