-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: The Default Aspect Ratio in Config.py is Overriding Both the Default Preset & Config.txt #98
Comments
This could be resolved by adding the HiDiffusion node to the FooocusPlus custom nodes library, and then updating the SD1.5 workflow to incorporate the nodes listed in the sample workflow. SD1.5 generations would then use the same resolutions as SDXL and Flux, eliminating the need for resolution adjustments. |
So this uses automatic upscaling to boost SD1.5 to SDXL sizes? I do think we should respect SD1.5 resolutions as they are, but of course this upscaling could be an option. Anyway, it was not difficult at all to include an aspect ratio table for SD1.5 - most of the time was just testing out each of the ones that I provided with a couple of different models. But the override of default aspect ratio by config.py - overriding both the preset and config.txt - is the actual issue in this item, although it is a minor one. I will not be looking at it until after the production release. |
No, it natively generates at SDXL resolutions using SD1.5 models, with a speed boost as well. No upscaling required. See a sample here, albeit without the speed boost which appears to be Comfy-only. |
If all models (SD1.5, SDXL, Flux) generate at the same resolutions, you could revert to the original Fooocus resolutions code and make this bug irrelevant. |
Well that is interesting! It sounds too good to be true. 🙂 |
You may recall I wrote this up as part of Stable Diffusion o1. |
It is not really a resolutions code problem, there is just a prioritizing problem going on in config.py. Its probably not that difficult to fix but I just don't want to bother with it at this point. The user just has to select the resolution that they want from the table because you cannot rely on the default preset or config.text to do it. But all the other presets select resolution properly. The default preset is treated in a special way by mainline Fooocus and Simple built on this. It should not really have been given special coding. |
Yes, I remember that now after looking at the link. There's a lot to keep track of isn't there? |
I reckon you can add this issue to the FooocusPlus UX project and return to it when resources permit. |
Checklist
What happened?
The aspect ratio specified in the Default preset or in config.txt is not overriding the default value in config.py as it should.
Once the UI is running, other presets do override config.py, which is the expected behaviour.
Steps to reproduce the problem
What should have happened?
The aspect ratio in the Default preset or in config.txt should be override whatever is specified in config.py, which should be just a fallback value.
What browsers do you use to access Fooocus?
Mozilla Firefox
Where are you running Fooocus?
Locally
What operating system are you using?
Windows 10
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: