Commit
·
4ddd995
1
Parent(s):
ec8745e
Add initial defaults
Browse files- default.cfg +75 -0
- disco_diffusion_defaults.cfg +72 -0
default.cfg
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
#Optimized to run on Colab Free
|
| 3 |
+
#If you like your setting consider sharing it to the settings library at https://github.com/multimodalart/MajestyDiffusion
|
| 4 |
+
[model_list]
|
| 5 |
+
model_list = ['openimages']
|
| 6 |
+
|
| 7 |
+
[clip_list]
|
| 8 |
+
perceptors = ['[clip - mlfoundations - ViT-B-16--openai]', '[clip - mlfoundations - ViT-B-32--laion2b_e16]']
|
| 9 |
+
|
| 10 |
+
[basic_settings]
|
| 11 |
+
#Perceptor things
|
| 12 |
+
|
| 13 |
+
clip_guidance_scale = 2400
|
| 14 |
+
step = 100
|
| 15 |
+
aesthetic_loss_scale = 100
|
| 16 |
+
augment_cuts=True
|
| 17 |
+
|
| 18 |
+
#Init image settings
|
| 19 |
+
starting_timestep = 0.9
|
| 20 |
+
init_scale = 1000
|
| 21 |
+
mask_scale = 0
|
| 22 |
+
|
| 23 |
+
[advanced_settings]
|
| 24 |
+
#Add CLIP Guidance and all the flavors or just run normal Latent Diffusion
|
| 25 |
+
|
| 26 |
+
use_secondary_model=False
|
| 27 |
+
use_original_as_clip_in=0
|
| 28 |
+
lerp=True
|
| 29 |
+
#Cut settings
|
| 30 |
+
cut_overview = [16]*1000
|
| 31 |
+
cut_innercut = [0]*1200
|
| 32 |
+
cut_ic_pow = 0.3
|
| 33 |
+
cut_icgray_p = [0.2]*100 + [0]*1200
|
| 34 |
+
cutn_batches = 2
|
| 35 |
+
sat_index = [0]*1040
|
| 36 |
+
range_index = [1500000]*100 + [0]*1000
|
| 37 |
+
eta_index = [1.2]*100
|
| 38 |
+
active_function = "softsign"
|
| 39 |
+
tv_scales = [150]*4
|
| 40 |
+
tv_scale_2 = []
|
| 41 |
+
n_batches = 1
|
| 42 |
+
unified_cutouts = True
|
| 43 |
+
ns_cutn = 10
|
| 44 |
+
step_enhance=True
|
| 45 |
+
mid_point = 0.6
|
| 46 |
+
steps_pow = 1
|
| 47 |
+
#cfg_scale only for cc12m_cfg
|
| 48 |
+
cfg_scale = 3
|
| 49 |
+
#If you uncomment this line you can schedule the CLIP guidance across the steps. Otherwise the clip_guidance_scale will be used
|
| 50 |
+
clip_guidance_schedule = [2400]*1000
|
| 51 |
+
|
| 52 |
+
#Apply symmetric loss (force simmetry to your results)
|
| 53 |
+
symmetric_loss_scale = 0
|
| 54 |
+
|
| 55 |
+
#Grad and mag advanced settings
|
| 56 |
+
grad_center = False
|
| 57 |
+
#Lower value result in more coherent and detailed result, higher value makes it focus on more dominent concept
|
| 58 |
+
grad_scale=0.1
|
| 59 |
+
mag_mul = 10
|
| 60 |
+
clamp_start_=0
|
| 61 |
+
clamp_index = [0.05]*200 + [0.04]*800
|
| 62 |
+
|
| 63 |
+
#More settings
|
| 64 |
+
RGB_min = -0.95
|
| 65 |
+
RGB_max = 0.95
|
| 66 |
+
#How to pad the image with cut_overview
|
| 67 |
+
padargs = {'mode': 'constant', 'value': -1}
|
| 68 |
+
flip_aug=False
|
| 69 |
+
cc = 6
|
| 70 |
+
|
| 71 |
+
#Internal upscaler settings
|
| 72 |
+
activate_upscaler = False
|
| 73 |
+
upscale_model = "yfcc_2"
|
| 74 |
+
multiply_image_size_by = 2
|
| 75 |
+
|
disco_diffusion_defaults.cfg
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
#Settings similar to the default ones on the Disco Diffusion Colab Notebook (https://colab.research.google.com/github/alembics/disco-diffusion/blob/main/Disco_Diffusion.ipynb)
|
| 3 |
+
[model_list]
|
| 4 |
+
model_list = ['openimages']
|
| 5 |
+
|
| 6 |
+
[basic_settings]
|
| 7 |
+
#Perceptor things
|
| 8 |
+
width = 512
|
| 9 |
+
height = 512
|
| 10 |
+
clip_guidance_scale = 5000
|
| 11 |
+
step = 100
|
| 12 |
+
aesthetic_loss_scale = 100
|
| 13 |
+
augment_cuts=True
|
| 14 |
+
|
| 15 |
+
#Init image settings
|
| 16 |
+
starting_timestep = 0.9
|
| 17 |
+
init_scale = 1000
|
| 18 |
+
mask_scale = 0
|
| 19 |
+
|
| 20 |
+
[advanced_settings]
|
| 21 |
+
#Add CLIP Guidance and all the flavors or just run normal Latent Diffusion
|
| 22 |
+
|
| 23 |
+
use_secondary_model=False
|
| 24 |
+
use_original_as_clip_in=0
|
| 25 |
+
lerp=True
|
| 26 |
+
#Cut settings
|
| 27 |
+
cut_overview = [12]*400+[4]*600
|
| 28 |
+
cut_innercut = [4]*400+[12]*600
|
| 29 |
+
cut_ic_pow = 1
|
| 30 |
+
cut_icgray_p = [0.2]*100 + [0]*1200
|
| 31 |
+
cutn_batches = 4
|
| 32 |
+
sat_index = [0]*1040
|
| 33 |
+
range_index = [1500000]*100 + [0]*1000
|
| 34 |
+
eta_index = [0.8]*100
|
| 35 |
+
active_function = "softsign"
|
| 36 |
+
tv_scales = [150]*4
|
| 37 |
+
tv_scale_2 = []
|
| 38 |
+
n_batches = 1
|
| 39 |
+
unified_cutouts = True
|
| 40 |
+
ns_cutn = 10
|
| 41 |
+
step_enhance=True
|
| 42 |
+
mid_point = 0.6
|
| 43 |
+
steps_pow = 1
|
| 44 |
+
#cfg_scale only for cc12m_cfg
|
| 45 |
+
cfg_scale = 3
|
| 46 |
+
#If you uncomment this line you can schedule the CLIP guidance across the steps. Otherwise the clip_guidance_scale will be used
|
| 47 |
+
clip_guidance_schedule = [2400]*1000
|
| 48 |
+
|
| 49 |
+
#Apply symmetric loss (force simmetry to your results)
|
| 50 |
+
symmetric_loss_scale = 0
|
| 51 |
+
|
| 52 |
+
#Grad and mag advanced settings
|
| 53 |
+
grad_center = False
|
| 54 |
+
#Lower value result in more coherent and detailed result, higher value makes it focus on more dominent concept
|
| 55 |
+
grad_scale=0.1
|
| 56 |
+
mag_mul = 10
|
| 57 |
+
clamp_start_=0
|
| 58 |
+
clamp_index = [0.05]*200 + [0.04]*800
|
| 59 |
+
|
| 60 |
+
#More settings
|
| 61 |
+
RGB_min = -0.95
|
| 62 |
+
RGB_max = 0.95
|
| 63 |
+
#How to pad the image with cut_overview
|
| 64 |
+
padargs = {'mode': 'constant', 'value': -1}
|
| 65 |
+
flip_aug=False
|
| 66 |
+
cc = 6
|
| 67 |
+
|
| 68 |
+
#Internal upscaler settings
|
| 69 |
+
activate_upscaler = False
|
| 70 |
+
upscale_model = "yfcc_2"
|
| 71 |
+
multiply_image_size_by = 2
|
| 72 |
+
|