@@ -179,16 +180,22 @@ def run_modelmerger(primary_model_name, secondary_model_name, interp_method, int
...
@@ -179,16 +180,22 @@ def run_modelmerger(primary_model_name, secondary_model_name, interp_method, int
forkeyintqdm.tqdm(theta_0.keys()):
forkeyintqdm.tqdm(theta_0.keys()):
if'model'inkeyandkeyintheta_1:
if'model'inkeyandkeyintheta_1:
theta_0[key]=theta_func(theta_0[key],theta_1[key],(float(1.0)-interp_amount))# Need to reverse the interp_amount to match the desired mix ration in the merged checkpoint
theta_0[key]=theta_func(theta_0[key],theta_1[key],(float(1.0)-interp_amount))# Need to reverse the interp_amount to match the desired mix ration in the merged checkpoint
"img2img_color_correction":OptionInfo(False,"Apply color correction to img2img results to match original colors."),
"img2img_color_correction":OptionInfo(False,"Apply color correction to img2img results to match original colors."),
"save_images_before_color_correction":OptionInfo(False,"Save a copy of image before applying color correction to img2img results"),
"save_images_before_color_correction":OptionInfo(False,"Save a copy of image before applying color correction to img2img results"),
"img2img_fix_steps":OptionInfo(False,"With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising)."),
"img2img_fix_steps":OptionInfo(False,"With img2img, do exactly the amount of steps the slider specifies (normally you'd do less with less denoising)."),