Upload custom-hires-fix-mod-for-automatic1111-2.9.2 using SD-Hub
Browse files- custom-hires-fix-mod-for-automatic1111-2.9.2/README.md +29 -0
- custom-hires-fix-mod-for-automatic1111-2.9.2/config.yaml +77 -0
- custom-hires-fix-mod-for-automatic1111-2.9.2/scripts/__pycache__/custom_hires_fix.cpython-310.pyc +0 -0
- custom-hires-fix-mod-for-automatic1111-2.9.2/scripts/custom_hires_fix.py +0 -0
custom-hires-fix-mod-for-automatic1111-2.9.2/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Custom Hires Fix (webui Extension)
|
| 2 |
+
## Webui Extension for customizing highres fix and improve details (currently separated from original highres fix)
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
#### Update 16.10.23:
|
| 6 |
+
- added ControlNet support: choose preprocessor/model in CN settings, but don't enable unit
|
| 7 |
+
- added Lora support: put Lora in extension prompt to enable Lora only for upscaling, put Lora in negative prompt to disable active Lora
|
| 8 |
+
|
| 9 |
+
#### Update 02.07.23:
|
| 10 |
+
- code rewritten again
|
| 11 |
+
- simplified settings
|
| 12 |
+
- fixed batch generation and image saving
|
| 13 |
+
|
| 14 |
+
#### Update 13.06.23:
|
| 15 |
+
- added gaussian noise instead of random
|
| 16 |
+
|
| 17 |
+
#### Update 29.05.23:
|
| 18 |
+
- added ToMe optomization in second pass, latest Auto1111 update required, controlled via "Token merging ratio for high-res pass" in settings
|
| 19 |
+
- added "Sharp" setting, should be used only with "Smoothness" if image is too blurry
|
| 20 |
+
|
| 21 |
+
#### Update 12.05.23:
|
| 22 |
+
- added smoothness for negative, completely fix ghosting/smears/dirt on flat colors with high denoising
|
| 23 |
+
|
| 24 |
+
#### Update 02.04.23:
|
| 25 |
+
###### Don't forget to clear ui-config.json!
|
| 26 |
+
- upscale separated from original high-res fix
|
| 27 |
+
- now works with img2img
|
| 28 |
+
- many fixes
|
| 29 |
+
|
custom-hires-fix-mod-for-automatic1111-2.9.2/config.yaml
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
width: 1702
|
| 2 |
+
height: 1164
|
| 3 |
+
prompt: ''
|
| 4 |
+
negative_prompt: ''
|
| 5 |
+
steps: 15
|
| 6 |
+
first_upscaler: R-ESRGAN 4x+ Anime6B
|
| 7 |
+
second_upscaler: 2x-AnimeSharpV3
|
| 8 |
+
first_latent: 0.54
|
| 9 |
+
second_latent: 0.0
|
| 10 |
+
strength: 0.0
|
| 11 |
+
filter: Noise sync (sharp)
|
| 12 |
+
filter_offset: 0.0
|
| 13 |
+
denoise_offset: 0.0
|
| 14 |
+
clip_skip: 0
|
| 15 |
+
sampler: Euler Dy
|
| 16 |
+
cn_ref: false
|
| 17 |
+
start_control_at: 0.0
|
| 18 |
+
enable: true
|
| 19 |
+
ratio: 0.0
|
| 20 |
+
long_edge: 0
|
| 21 |
+
steps_first: 15
|
| 22 |
+
steps_second: 15
|
| 23 |
+
denoise_first: 0.38
|
| 24 |
+
denoise_second: 0.35
|
| 25 |
+
second_pass_prompt: ''
|
| 26 |
+
second_pass_prompt_append: true
|
| 27 |
+
filter_mode: Noise sync (sharp)
|
| 28 |
+
latent_resample_mode: bicubic
|
| 29 |
+
noise_schedule_mode: Use sampler default
|
| 30 |
+
adaptive_sigma_enable: false
|
| 31 |
+
sampler_first: Euler Smea mds2 s max
|
| 32 |
+
sampler_second: Euler_Smea_Dy
|
| 33 |
+
scheduler_first: Laplace
|
| 34 |
+
scheduler_second: Laplace
|
| 35 |
+
restore_scheduler_after: true
|
| 36 |
+
cfg: 4.0
|
| 37 |
+
cfg_second_pass_boost: true
|
| 38 |
+
cfg_second_pass_delta: 2.0
|
| 39 |
+
reuse_seed_noise: true
|
| 40 |
+
mp_target_enabled: false
|
| 41 |
+
mp_target: 2.0
|
| 42 |
+
cond_cache_enabled: true
|
| 43 |
+
cond_cache_max: 128
|
| 44 |
+
vae_tiling_enabled: false
|
| 45 |
+
seamless_tiling_enabled: true
|
| 46 |
+
tile_overlap: 32
|
| 47 |
+
lora_weight_first_factor: 1.0
|
| 48 |
+
lora_weight_second_factor: 1.0
|
| 49 |
+
match_colors_preset: 'Off'
|
| 50 |
+
match_colors_enabled: true
|
| 51 |
+
match_colors_strength: 0.5
|
| 52 |
+
postfx_preset: 'Off'
|
| 53 |
+
clahe_enabled: true
|
| 54 |
+
clahe_clip: 2.0
|
| 55 |
+
clahe_tile_grid: 8
|
| 56 |
+
unsharp_enabled: true
|
| 57 |
+
unsharp_radius: 0.7
|
| 58 |
+
unsharp_amount: 1.4
|
| 59 |
+
unsharp_threshold: 0
|
| 60 |
+
cn_proc_res_cap: 1024
|
| 61 |
+
final_upscale_enable: false
|
| 62 |
+
final_upscaler: None
|
| 63 |
+
final_scale: 4.0
|
| 64 |
+
final_tile: 512
|
| 65 |
+
final_tile_overlap: 16
|
| 66 |
+
first_latent_invert: false
|
| 67 |
+
deep_shrink_enable: false
|
| 68 |
+
deep_shrink_strength: 0.5
|
| 69 |
+
sdxl_mode: true
|
| 70 |
+
sdxl_denoise_boost: 0.1
|
| 71 |
+
second_custom_size_enable: true
|
| 72 |
+
second_width: 1520
|
| 73 |
+
second_height: 1040
|
| 74 |
+
latent_resample_enable: true
|
| 75 |
+
reuse_noise_cache: true
|
| 76 |
+
legacy_cfg_handling: false
|
| 77 |
+
cleanup_noise_overrides: true
|
custom-hires-fix-mod-for-automatic1111-2.9.2/scripts/__pycache__/custom_hires_fix.cpython-310.pyc
ADDED
|
Binary file (85.5 kB). View file
|
|
|
custom-hires-fix-mod-for-automatic1111-2.9.2/scripts/custom_hires_fix.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|