mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
math updates for controlnet tiles
This commit is contained in:
committed by
psychedelicious
parent
6cb0581b0d
commit
a43211e650
@ -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');
|
||||||
|
Reference in New Issue
Block a user