lllyasviel / Fooocus

Focus on prompting and generating
GNU General Public License v3.0
41.14k stars 5.79k forks source link

Fooocus image generation is way worse than on versions from 4-5 months ago #2734

Closed Kingbadger3d closed 6 months ago

Kingbadger3d commented 6 months ago

Checklist

What happened?

Ive not used Fooocus for a while, here's some screen grabs with the settings from 4-5 months back:

1 2 3

Here's the rubbish you get now with latest version with same settings and models (I've tried default ones and looks even worse):

4 5 6 7

What have you done?, This tool was great, now its Garbage.

And you've removed downloads of past versions, Good Job!.

Another open source tools that was good bites the dust, very disappointing.

Steps to reproduce the problem

Run your broken tool

What should have happened?

An image should of been created that doesnt look like SDL 1.5 at its worst

What browsers do you use to access Fooocus?

Mozilla Firefox

Where are you running Fooocus?

Locally

What operating system are you using?

Windows 11

Console logs

None

Additional information

No response

mashb1t commented 6 months ago

Thank you for your feedback.

Which model(s) are you using to create the new images? Please post images with metadata or the entry from the history log here for further analysis.

Please also be aware of the fact that comparison between versions of Fooocus should be conducted with the same models, as this ensures a minimisation of external non-Fooocus related parameters.

You can always download older versions by following the official instructions here: https://github.com/lllyasviel/Fooocus/discussions/1405

mashb1t commented 6 months ago

One more addition: the old images were generated in resolution 1152x852, the new ones in 3475x1991, while also having a different aspect ratio, which does not allow for proper comparison. Be advised that everything outside of Fooocus standard resolutions will result in degrading image quality, see https://github.com/lllyasviel/Fooocus/pull/1617.

Kingbadger3d commented 6 months ago

Hey Mashb1t, Sorry, but I've been seeing this happen a lot recently with open source tools. I used the same models, same settings, same res. Hahaha, No man I wasn't trying to use 3475x1991 for generation, The new versions of the HTML doc generated that lists settings and the image (which was a genius change at the time no one was doing that) is layed out different to the screen grabs from the old HTML overview file, I took the shots with snipping tool, my screen res is 4k, I zoomed the images in the browser with control +, the res you see is not the render res. You just couldn't see without zooming the image how bad they were.

andynormancx commented 6 months ago

Are you using the same seeds as the original images ?

If I use your original 253332050 seed, attempt to match the settings as best I can, then I can get very close to your composition. But only if I add "closeup" to the prompt.

You can't match settings exactly as things around the styles have changed over time and unfortunately the HTML log had a lot less detail when you created these images 7 months ago.

However the detail of image is very different to the your original ones. Mainly it is has mangled faces and hands:

image

This is the metadata from that image:

{ "prompt": "People having a meeting in office building smart meeting, closeup", "negative_prompt": "text", "prompt_expansion": "", "styles": "['Cinematic Diva']", "performance": "Quality", "resolution": "(1152, 832)", "guidance_scale": 3, "sharpness": 2, "adm_guidance": "(1.5, 0.8, 0.3)", "base_model": "talmendoxlSDXL_v11Beta.safetensors", "refiner_model": "sd_xl_base_1.0.safetensors", "refiner_switch": 0.5, "sampler": "dpmpp_2m_sde_gpu", "scheduler": "karras", "seed": "253332050", "lora_combined_1": "sd_xl_offset_example-lora_1.0.safetensors : 0.5", "metadata_scheme": "fooocus", "version": "Fooocus v2.3.1" }

I tried tweaking various things (including removing the LoRA and the refiner), but the faces always seem to be pretty bad.

If I just use the default realistic preset, change the resolution to 1152*832, pick a cinematic style, I get generally similar quality results to your original.

Here are a couple of examples, possibly not as cinematic as yours, but also far less feature mangling.

image image

And the metadata for the second one.

{ "prompt": "People having a meeting in office building smart meeting, (closeup)", "negative_prompt": "unrealistic, saturated, high contrast, big nose, painting, drawing, sketch, cartoon, anime, manga, render, CG, 3d, watermark, signature, label", "prompt_expansion": "People having a meeting in office building smart meeting, (closeup), futuristic, elegant, highly detailed, focus, cinematic, dramatic light, directed, burning, novel, fine detail, clear, very handsome, attractive, strong, epic, stunning, great, artistic, perfect, awesome, intricate, brilliant, singular, best, sharp, determined, passionate, cool, creative", "styles": "['Fooocus Cinematic', 'Fooocus Negative', 'Fooocus V2']", "performance": "Quality", "resolution": "(1152, 832)", "guidance_scale": 3, "sharpness": 2, "adm_guidance": "(1.5, 0.8, 0.3)", "base_model": "realisticStockPhoto_v20.safetensors", "refiner_model": "None", "refiner_switch": 0.5, "sampler": "dpmpp_2m_sde_gpu", "scheduler": "karras", "seed": "253332048", "metadata_scheme": false, "version": "Fooocus v2.3.1" }

(the way, you can paste the JSON into the prompt to load in the same settings)

Switching over to the model you are using results in a bit of a quality drop off:

image

(though that is the worst of the images I got with it).

It seems there is something about that model you're using that does not get on very well with the current Fooocus rendering pipeline when it comes to faces and hands.

P.S. to get to see the full size image just click on the image in the HTML log file, it will open in its own window

AgentHitmanFaris commented 6 months ago

I currently change to comfyui which like change from produa to hyundai

mashb1t commented 6 months ago

Can't reproduce, closing this issue.