math updates for controlnet tiles

This commit is contained in:
Mary Hipp
2024-07-22 16:03:19 -04:00
committed by psychedelicious
parent 6cb0581b0d
commit a43211e650

View File

@ -247,7 +247,7 @@ export const buildMultidiffusionUpscsaleGraph = async (state: RootState): Promis
control_model: tileControlnetModel, control_model: tileControlnetModel,
control_mode: 'balanced', control_mode: 'balanced',
resize_mode: 'just_resize', resize_mode: 'just_resize',
control_weight: ((structure + 10) * 0.025 + 0.3) * 0.013 + 0.35, control_weight: ((structure + 10) * 0.0325 + 0.15) + 0.15,
begin_step_percent: 0, begin_step_percent: 0,
end_step_percent: (structure + 10) * 0.025 + 0.3, end_step_percent: (structure + 10) * 0.025 + 0.3,
}); });
@ -260,9 +260,9 @@ export const buildMultidiffusionUpscsaleGraph = async (state: RootState): Promis
control_model: tileControlnetModel, control_model: tileControlnetModel,
control_mode: 'balanced', control_mode: 'balanced',
resize_mode: 'just_resize', resize_mode: 'just_resize',
control_weight: ((structure + 10) * 0.025 + 0.3) * 0.013, control_weight: ((structure + 10) * 0.0325 + 0.15) * 0.15,
begin_step_percent: (structure + 10) * 0.025 + 0.3, begin_step_percent: (structure + 10) * 0.025 + 0.3,
end_step_percent: 0.8, end_step_percent: 0.85,
}); });
g.addEdge(resizeNode, 'image', controlnetNode2, 'image'); g.addEdge(resizeNode, 'image', controlnetNode2, 'image');