diff --git a/fooocus_version.py b/fooocus_version.py index 6121905..56d58fc 100644 --- a/fooocus_version.py +++ b/fooocus_version.py @@ -1 +1 @@ -version = '1.0.38' +version = '1.0.36' diff --git a/modules/async_worker.py b/modules/async_worker.py index 0a9fcba..28b8d15 100644 --- a/modules/async_worker.py +++ b/modules/async_worker.py @@ -45,10 +45,10 @@ def worker(): if performance_selction == 'Speed': steps = 30 - switch = 15 + switch = 20 else: steps = 60 - switch = 30 + switch = 40 width, height = aspect_ratios[aspect_ratios_selction] diff --git a/modules/core.py b/modules/core.py index d110bff..55e1eae 100644 --- a/modules/core.py +++ b/modules/core.py @@ -92,7 +92,7 @@ def get_previewer(device, latent_format): @torch.no_grad() -def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='uni_pc', +def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sampler_name='dpmpp_2m_sde_gpu', scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False, callback_function=None): # SCHEDULERS = ["normal", "karras", "exponential", "simple", "ddim_uniform"] @@ -134,7 +134,6 @@ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sa noise_mask = prepare_mask(noise_mask, noise.shape, device) comfy.model_management.load_model_gpu(model) - real_model = model.model noise = noise.to(device) @@ -165,7 +164,7 @@ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=7.0, sa @torch.no_grad() def ksampler_with_refiner(model, positive, negative, refiner, refiner_positive, refiner_negative, latent, - seed=None, steps=30, refiner_switch_step=20, cfg=7.0, sampler_name='uni_pc', + seed=None, steps=30, refiner_switch_step=20, cfg=7.0, sampler_name='dpmpp_2m_sde_gpu', scheduler='karras', denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False, callback_function=None): # SCHEDULERS = ["normal", "karras", "exponential", "simple", "ddim_uniform"] diff --git a/modules/sdxl_styles.py b/modules/sdxl_styles.py index 4e9f60c..a1dfdeb 100644 --- a/modules/sdxl_styles.py +++ b/modules/sdxl_styles.py @@ -8,8 +8,8 @@ styles = [ }, { "name": "cinematic-default", - "prompt": "cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, moody, epic, gorgeous, film grain, grainy", - "negative_prompt": "blur, bokeh, anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured" + "prompt": "cinematic still {prompt} . emotional, harmonious, vignette, highly detailed, high budget, bokeh, cinemascope, moody, epic, gorgeous, film grain, grainy", + "negative_prompt": "anime, cartoon, graphic, text, painting, crayon, graphite, abstract, glitch, deformed, mutated, ugly, disfigured" }, { "name": "sai-3d-model", diff --git a/readme.md b/readme.md index 52dbafc..fae3706 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ # Fooocus - + Fooocus is an image generating software. @@ -103,7 +103,7 @@ Note that some of these tricks are currently (2023 Aug 11) impossible to reprodu 6. The parameters of samplers are carefully tuned. 7. Because XL uses positional encoding for generation resolution, images generated by several fixed resolutions look a bit better than that from arbitrary resolutions (because the positional encoding is not very good at handling int numbers that are unseen during training). This suggests that the resolutions in UI may be hard coded for best results. 8. Separated prompts for two different text encoders seem unnecessary. Separated prompts for base model and refiner may work but the effects are random, and we refrain from implement this. -9. DPM family (or UniPC) seems well-suited for XL, since XL sometimes generates overly smooth texture but DPM family sometimes generate overly dense detail in texture. Their joint effect looks neutral and appealing to human perception. (Update 2023 Aug 19, changed to UniPC.) +9. DPM family seems well-suited for XL, since XL sometimes generates overly smooth texture but DPM family sometimes generate overly dense detail in texture. Their joint effect looks neutral and appealing to human perception. ## Advanced Features diff --git a/update_log.md b/update_log.md index e3a46b7..8f60d91 100644 --- a/update_log.md +++ b/update_log.md @@ -1,11 +1,3 @@ -### 1.0.38 - -* Update dependency, update to sampler. - -### 1.0.37 - -* Cinematic-default v2. - ### 1.0.36 * Change gaussian kernel to anisotropic kernel.