feat: add template json
This commit is contained in:
615
cargos/tvai-v2/models/thd-3.json
Normal file
615
cargos/tvai-v2/models/thd-3.json
Normal file
@@ -0,0 +1,615 @@
|
||||
{
|
||||
"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]-1x-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]-2x-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]-4x-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,
|
||||
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"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"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/THD_Enhanced.png",
|
||||
"beforeImg": "/tldb/images/model-thumbnails/THD_Original.png",
|
||||
"desc": "Upscale or sharpen input video with more detail, with parameters for fine-tuning.",
|
||||
"displayPri": 450,
|
||||
"maxScale": 6,
|
||||
"minScale": 0.2,
|
||||
"modelPickerParams": {
|
||||
"vidArtifactType": [
|
||||
"Blurry"
|
||||
],
|
||||
"vidQuality": [
|
||||
0,
|
||||
1,
|
||||
2
|
||||
],
|
||||
"vidType": [
|
||||
"I"
|
||||
]
|
||||
},
|
||||
"name": "Theia Fine Tune Detail",
|
||||
"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 Detail"
|
||||
],
|
||||
"showScale": 1
|
||||
},
|
||||
"inputs": {
|
||||
"fnetInput": "tlflow/input",
|
||||
"gnetInput": "5F124x-64-2T_gnet/input"
|
||||
},
|
||||
"interlacedFrames": 0,
|
||||
"jsonVersion": "1.0.0",
|
||||
"keepColor": 1,
|
||||
"key": "CHJPPIOMOMCPNLKEOLFNAPEBPGDDEIGBOOIDFPNMKAMDOEEFMIJJOOEFMEGNMAJJGIGJEPNJKCLDBKJIONNHGKDLPMAOGCHBGFBIHKGHACOBNLOBBONCFFCLBLDIAJNJCDBGFGABNBPJFEFONMKGPEPLBPPKEEGPDEPGOMGEMHBINMAACMKGGPOMAFFJFIDOCGKNALLLBHOIBCGMEJAGGJJGIIALINECPDGNKBKJLJMPFBGDCMNPCKMBHKKFEAFCHAKGIMIKBOEANAOOKDAJKICKDKAGFIGLGFELOMAGNOPFGLANOOBMFIEGEGBGPGLL",
|
||||
"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,
|
||||
"blending": 0,
|
||||
"preflight": 5,
|
||||
"shortName": "thd",
|
||||
"displayName": "Fine Tune Detail",
|
||||
"version": "3",
|
||||
"dependencies": [
|
||||
"prap-3"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user