Align ColorMNet pipeline with training normalization

This commit is contained in:
jonstreeter
2025-11-21 08:53:02 -06:00
parent 85d6ba07e2
commit 644680e9df
7 changed files with 283 additions and 361 deletions
+190
View File
@@ -0,0 +1,190 @@
{
"last_node_id": 4,
"last_link_id": 3,
"nodes": [
{
"id": 1,
"type": "LoadImage",
"pos": [
-640,
-120
],
"size": [
210,
58
],
"flags": {},
"order": 0,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
1
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "Load Target"
},
"widgets_values": [
"grayscale.png",
false
]
},
{
"id": 2,
"type": "LoadImage",
"pos": [
-640,
80
],
"size": [
210,
58
],
"flags": {},
"order": 1,
"mode": 0,
"outputs": [
{
"name": "IMAGE",
"type": "IMAGE",
"links": [
2
],
"slot_index": 0
},
{
"name": "MASK",
"type": "MASK",
"links": null,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "Load Reference"
},
"widgets_values": [
"reference.png",
false
]
},
{
"id": 3,
"type": "ColorMNetImage",
"pos": [
-180,
-40
],
"size": [
320,
150
],
"flags": {},
"order": 2,
"mode": 0,
"inputs": [
{
"name": "image",
"type": "IMAGE",
"link": 1
},
{
"name": "reference_image",
"type": "IMAGE",
"link": 2
}
],
"outputs": [
{
"name": "colorized_image",
"type": "IMAGE",
"links": [
3
],
"slot_index": 0
},
{
"name": "performance_report",
"type": "STRING",
"links": null,
"slot_index": 1
}
],
"properties": {
"Node name for S&R": "ColorMNet Image"
},
"widgets_values": [
768,
432,
true,
false
]
},
{
"id": 4,
"type": "SaveImage",
"pos": [
260,
-40
],
"size": [
210,
58
],
"flags": {},
"order": 3,
"mode": 0,
"inputs": [
{
"name": "images",
"type": "IMAGE",
"link": 3
}
],
"properties": {},
"widgets_values": [
"ColorMNet",
"png"
]
}
],
"links": [
[
1,
1,
0,
3,
0
],
[
2,
2,
0,
3,
1
],
[
3,
3,
0,
4,
0
]
],
"groups": [],
"config": {},
"extra": {
"frontendVersion": "1.28.8"
},
"version": 0.4
}