mixvideo-v2/cargos/tvai-v2/models/thf-4.json

617 lines
19 KiB
JSON

{
"autoModel": "prap-3",
"backends": {
"coreml": {
"model": "v4",
"parallel": 1,
"scales": {
"1": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp16-[H]x[W]-[S]x-ml.tz",
"fnet-fp16-[H]x[W]-ml.tz"
],
"outputs": [
"5F124x-64-2T_gnet/output1x/output/add",
"tlflow/decode0/flow_output/mul"
]
},
"2": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp16-[H]x[W]-[S]x-ml.tz",
"fnet-fp16-[H]x[W]-ml.tz"
],
"outputs": [
"5F124x-64-2T_gnet/decode2x/output2x/output/BiasAdd",
"tlflow/decode0/flow_output/mul"
]
},
"4": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp16-[H]x[W]-[S]x-ml.tz",
"fnet-fp16-[H]x[W]-ml.tz"
],
"outputs": [
"5F124x-64-2T_gnet/decode4x/output4x/output/BiasAdd",
"tlflow/decode0/flow_output/mul"
]
}
}
},
"onnx": {
"model": "v4",
"parallel": 1,
"scales": {
"1": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp32-[H]x[W]-[S]x-ox.tz",
"fnet-fp32-[H]x[W]-ox.tz"
],
"outputs": [
"5F124x-64-2T_gnet/output1x/output/add",
"tlflow/decode0/flow_output/mul"
]
},
"2": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp32-[H]x[W]-[S]x-ox.tz",
"fnet-fp32-[H]x[W]-ox.tz"
],
"outputs": [
"5F124x-64-2T_gnet/decode2x/output2x/output/BiasAdd",
"tlflow/decode0/flow_output/mul"
]
},
"4": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp32-[H]x[W]-[S]x-ox.tz",
"fnet-fp32-[H]x[W]-ox.tz"
],
"outputs": [
"5F124x-64-2T_gnet/decode4x/output4x/output/BiasAdd",
"tlflow/decode0/flow_output/mul"
]
}
}
},
"onnx16": {
"model": "v4",
"parallel": 1,
"scales": {
"1": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
576
],
"nets": [
"gnet-fp16-[H]x[W]-[S]x-ox.tz",
"fnet-fp16-[H]x[W]-ox.tz"
],
"outputs": [
"5F124x-64-2T_gnet/output1x/output/add",
"tlflow/decode0/flow_output/mul"
]
},
"2": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp16-[H]x[W]-[S]x-ox.tz",
"fnet-fp16-[H]x[W]-ox.tz"
],
"outputs": [
"5F124x-64-2T_gnet/decode2x/output2x/output/BiasAdd",
"tlflow/decode0/flow_output/mul"
]
},
"4": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp16-[H]x[W]-[S]x-ox.tz",
"fnet-fp16-[H]x[W]-ox.tz"
],
"outputs": [
"5F124x-64-2T_gnet/decode4x/output4x/output/BiasAdd",
"tlflow/decode0/flow_output/mul"
]
}
}
},
"openvino": {
"model": "v4",
"scales": {
"1": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp16-[H]x[W]-[S]x-ox.tz",
"fnet-fp16-[H]x[W]-ox.tz"
],
"outputs": [
"5F124x-64-2T_gnet/output1x/output/add",
"tlflow/decode0/flow_output/mul"
]
},
"2": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp16-[H]x[W]-[S]x-ox.tz",
"fnet-fp16-[H]x[W]-ox.tz"
],
"outputs": [
"5F124x-64-2T_gnet/decode2x/output2x/output/BiasAdd",
"tlflow/decode0/flow_output/mul"
]
},
"4": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp16-[H]x[W]-[S]x-ox.tz",
"fnet-fp16-[H]x[W]-ox.tz"
],
"outputs": [
"5F124x-64-2T_gnet/decode4x/output4x/output/BiasAdd",
"tlflow/decode0/flow_output/mul"
]
}
}
},
"tensorrt": {
"capabilities": [
1200,
809,
806,
705
],
"model": "v4",
"parallel": 1,
"scales": {
"1": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp32-[H]x[W]-[S]x-rt[C]-[R]-rt.tz",
"fnet-fp32-[H]x[W]-rt[C]-[R]-rt.tz"
],
"outputs": [
"5F124x-64-2T_gnet/output1x/output/add",
"tlflow/decode0/flow_output/mul"
]
},
"2": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp32-[H]x[W]-[S]x-rt[C]-[R]-rt.tz",
"fnet-fp32-[H]x[W]-rt[C]-[R]-rt.tz"
],
"outputs": [
"5F124x-64-2T_gnet/decode2x/output2x/output/BiasAdd",
"tlflow/decode0/flow_output/mul"
]
},
"4": {
"blocks": [
288,
288,
352,
256,
480,
384,
384,
480,
384,
576,
416,
576,
576,
448,
672,
384,
672,
576
],
"nets": [
"gnet-fp32-[H]x[W]-[S]x-rt[C]-[R]-rt.tz",
"fnet-fp32-[H]x[W]-rt[C]-[R]-rt.tz"
],
"outputs": [
"5F124x-64-2T_gnet/decode4x/output4x/output/BiasAdd",
"tlflow/decode0/flow_output/mul"
]
}
}
}
},
"enabled": 1,
"frames": 5,
"gui": {
"afterImg": "/tldb/images/model-thumbnails/THF_Enhanced.png",
"beforeImg": "/tldb/images/model-thumbnails/THF_Original.png",
"desc": "Upscale or sharpen input video at higher fidelity, with parameters for fine-tuning.",
"displayPri": 460,
"hiddenKeywords": [
"Hifi"
],
"maxScale": 6,
"minScale": 0.2,
"modelPickerParams": {
"vidArtifactType": [
"Compression"
],
"vidQuality": [
0,
1,
2
],
"vidType": [
"I"
]
},
"name": "Theia Fine Tune Fidelity",
"parameters": {
"blur": {
"default": 0.3,
"description": "Additional sharpening of the video. Higher values produce a sharper video but may introduce artifacts. Adjust this after the \"Deblock\" setting.",
"guiMax": 100,
"guiMin": 0,
"guiType": "int",
"modelMax": 1,
"modelMin": 0,
"modelType": "float",
"name": "Sharpen",
"precision": 1
},
"compression": {
"default": 0.5,
"description": "Reduce blockiness and other compression artifacts. Higher values are better for low-bitrate input video.",
"guiMax": 100,
"guiMin": 0,
"guiType": "int",
"modelMax": 1,
"modelMin": 0,
"modelType": "float",
"name": "Deblock",
"precision": 1
},
"noise": {
"default": 0.1,
"description": "Remove noise from the input video. Higher values suppress more noise but may suppress details. Use a lower value (0-10) for clean videos.",
"guiMax": 100,
"guiMin": 0,
"guiType": "int",
"modelMax": 1,
"modelMin": 0,
"modelType": "float",
"name": "Reduce Noise",
"precision": 1
}
},
"searchableKeywords": [
"Theia",
"Fine Tune Fidelity"
],
"showScale": 1
},
"inputs": {
"fnetInput": "tlflow/input",
"gnetInput": "5F124x-64-2T_gnet/input"
},
"interlacedFrames": 0,
"jsonVersion": "1.0.0",
"keepColor": 1,
"key": "CHJPPIOMOMCPNLKEOLFNAPEBPGDDEIGBOOIDFPNMKAMDOEEFMIJJOOEFMEGNMAJJGIGJEPNJKCLDBKJIONNHGKDLPMAOGCHBGFBIHKGHACOBNLOBBONCFFCLBLDIAJNJCDBGFGABNBPJFEFONMKGPEPLBPPKEEGPDEPGOMGEMHBINMAACMKGGPOMAFFJFIDOCGKNALLLBHOIBCGMEJAGGJJGIIALINECDMEKHDIIIGPDKPEAOHHGAOMNEAAPLAJNHPBEJKOJBBCAJIKAHLBPMHDPFDDPOAPOHJMDAJAMKCBHOCDDAHKDBPCGDBOENJMD",
"minAppVersion": "1.5.0",
"modelType": 1,
"noiseLevel": 0.4,
"parameters": [
{
"default": 0,
"max": 1,
"min": -1,
"name": "preBlur"
},
{
"default": 0.5,
"max": 1,
"min": 0,
"name": "noise"
},
{
"default": 0.5,
"max": 1,
"min": 0,
"name": "details"
},
{
"default": 0.5,
"max": 1,
"min": 0,
"name": "halo"
},
{
"default": 0.5,
"max": 1,
"min": 0,
"name": "blur"
},
{
"default": 0.5,
"max": 1,
"min": 0,
"name": "compression"
}
],
"postflight": 2,
"preflight": 5,
"blending": 0,
"shortName": "thf",
"displayName": "Fine Tune Fidelity",
"version": "4",
"dependencies": [
"prap-3"
]
}