Spaces:
Paused
Paused
lllyasviel
commited on
Commit
•
11d9339
1
Parent(s):
319d59a
- fooocus_version.py +1 -1
- readme.md +8 -2
fooocus_version.py
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
version = '1.0.
|
2 |
|
|
|
1 |
+
version = '1.0.13'
|
2 |
|
readme.md
CHANGED
@@ -39,11 +39,17 @@ Coming soon ...
|
|
39 |
## List of Tricks Used in Improving the Result
|
40 |
<a name="tech_list"></a>
|
41 |
|
42 |
-
Below things are already inside the software, and users do not need to do anything
|
43 |
|
44 |
Note that many of these tricks are currently (2023 Aug 11) impossible to reproduce in Automatic1111's interface or ComfyUI's node system. You can expect better results from Fooocus than other software even when they use similar models/pipelines.
|
45 |
|
46 |
-
1.
|
|
|
|
|
|
|
|
|
|
|
|
|
47 |
|
48 |
## Thanks
|
49 |
|
|
|
39 |
## List of Tricks Used in Improving the Result
|
40 |
<a name="tech_list"></a>
|
41 |
|
42 |
+
Below things are already inside the software, and **users do not need to do anything about these**.
|
43 |
|
44 |
Note that many of these tricks are currently (2023 Aug 11) impossible to reproduce in Automatic1111's interface or ComfyUI's node system. You can expect better results from Fooocus than other software even when they use similar models/pipelines.
|
45 |
|
46 |
+
1. Native refiner swap inside one single k-sampler. The advantage is that now the refiner model can reuse the base model's momentum collected from k-sampling to achieve more coherent sampling. In Automatic1111's high-ref fix and ComfyUI's node system, the base model and refiner use two independent k-samplers, which means the momentum is largely wasted, and the sampling continuity is broken. Fooocus uses its own advanced k-diffusion sampling that ensures seamless, native, and continues swap in a refiner setup.
|
47 |
+
2. Negative ADM guidance. Because the lowest resolution level of XL Base does not have cross attentions, the positive and negative signals for XL's lowest resolution level cannot receive enough contrasts during the CFG sampling, causing the results look a bit plastic or overly smooth in certain cases. Fortunately, since the XL's lowest resolution level is conditioned on image aspect ratios (ADM), we can modify the adm on the positive/negative side to compensate for the lack of CFG contrast in the lowest resolution level.
|
48 |
+
3. We modified the style templates a bit and added the "cinematic-default".
|
49 |
+
4. We tested the "sd_xl_offset_example-lora_1.0.safetensors" and it seems that when the lora weight is below 0.5, the results are always better than XL without lora.
|
50 |
+
5. The parameters of samplers are carefully tuned.
|
51 |
+
6. Because XL uses positional encoding for generating resolution, images generated by several fixed resolutions look a bit better than that from arbitrary resolutions. This suggests that resolutions in UI may be hard coded for better results.
|
52 |
+
7. 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.
|
53 |
|
54 |
## Thanks
|
55 |
|