feat: add template json
This commit is contained in:
371
cargos/tvai-v2/models/nyx-3.json
Normal file
371
cargos/tvai-v2/models/nyx-3.json
Normal file
@@ -0,0 +1,371 @@
|
||||
{
|
||||
"autoModel": "nap-3",
|
||||
"backends": {
|
||||
"coreml": {
|
||||
"model": "irs",
|
||||
"scales": {
|
||||
"1": {
|
||||
"spec": {
|
||||
"0": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"model": "irs",
|
||||
"nets": [
|
||||
"fnet-fp16-[H]x[W]-[S]x-ml.tz",
|
||||
"gnet-fp16-[H]x[W]-[S]x-ml.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"fnet_output",
|
||||
"gnet_output"
|
||||
],
|
||||
"parallel": 1
|
||||
},
|
||||
"13": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"model": "ir",
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-13-ane-mlp.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"model_output"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"2": {
|
||||
"spec": {
|
||||
"0": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"model": "irs",
|
||||
"nets": [
|
||||
"fnet-fp16-[H]x[W]-[S]x-ml.tz",
|
||||
"gnet-fp16-[H]x[W]-[S]x-ml.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"fnet_output",
|
||||
"gnet_output"
|
||||
],
|
||||
"parallel": 1
|
||||
},
|
||||
"13": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"model": "ir",
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-13-ane-mlp.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"model_output"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"onnx": {
|
||||
"model": "ir",
|
||||
"parallel": 1,
|
||||
"scales": {
|
||||
"1": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576,
|
||||
1024,
|
||||
1088
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp32-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576,
|
||||
1024,
|
||||
768
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp32-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"onnx16": {
|
||||
"model": "ir",
|
||||
"parallel": 1,
|
||||
"scales": {
|
||||
"1": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576,
|
||||
1024,
|
||||
1088
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576,
|
||||
1024,
|
||||
768
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"openvino": {
|
||||
"model": "ir",
|
||||
"parallel": 1,
|
||||
"scales": {
|
||||
"1": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576,
|
||||
1024,
|
||||
1088
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576,
|
||||
1024,
|
||||
768
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"tensorrt": {
|
||||
"capabilities": [
|
||||
1200,
|
||||
809,
|
||||
806,
|
||||
705
|
||||
],
|
||||
"model": "ir",
|
||||
"parallel": 1,
|
||||
"scales": {
|
||||
"1": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576,
|
||||
1024,
|
||||
1088
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp32-[H]x[W]-[S]x-rt[C]-[R]-rt.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
672,
|
||||
576,
|
||||
1024,
|
||||
768
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp32-[H]x[W]-[S]x-rt[C]-[R]-rt.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"dependencies": [
|
||||
"nap-3"
|
||||
],
|
||||
"displayName": "Nyx",
|
||||
"enabled": 1,
|
||||
"gui": {
|
||||
"name": "Nyx"
|
||||
},
|
||||
"plugin" : {
|
||||
"displayName" : "Nyx",
|
||||
"videoQuality": [0,1,2]
|
||||
},
|
||||
"inputs": {
|
||||
"fnet/lr_curr": "fnet_lr_curr",
|
||||
"fnet/lr_prev": "fnet_lr_prev",
|
||||
"gnet/hr_prev": "gnet_hr_prev",
|
||||
"gnet/lr_curr": "gnet_lr_curr",
|
||||
"gnet/params": "gnet_params",
|
||||
"hr_prev": "hr_prev",
|
||||
"lr_curr": "lr_curr",
|
||||
"lr_prev": "lr_prev",
|
||||
"params": "params"
|
||||
},
|
||||
"interlacedFrames": 0,
|
||||
"jsonVersion": "1.0.0",
|
||||
"keepColor": 0,
|
||||
"key": "CHJPPIOMOMCPNLKEOLFNAPEBPGDDEIGBOOIDFPNMKAMDOEEFMIJJOOEFMEGNMAJJGIGJEPNJKCLDBKJIONNHGKDLPMAOGCHBGFBIHKGHACOBNLOBBONCFFCLBLDIAJNJCDBGFGABNBPJFEFONMKGPEPLBPPKEEGPCDLEHMFLFHJOCBAEIPAODMGIOCEKNKLPLBOMMLKMFKBEEMOOJBIJHJMMOGJFHKPMLBIDPDGHFBIKLHDPOEBKFEDCPLICCKJLECOOFKEEFOGOPHLJKMHIEKBBKHABJBMFFMPJKBJIAHOJLPKACAMMFCJOMDNAOOAL",
|
||||
"minAppVersion": "3.3.0",
|
||||
"minCMLMacVersion": 10.16,
|
||||
"modelType": 1,
|
||||
"noiseLevel": 0.4,
|
||||
"parameters": [
|
||||
{
|
||||
"default": 0,
|
||||
"max": 1,
|
||||
"min": -1,
|
||||
"name": "preBlur",
|
||||
"guiName": "Anti-Alias/Deblur"
|
||||
|
||||
},
|
||||
{
|
||||
"default": 0.5,
|
||||
"max": 1,
|
||||
"min": 0,
|
||||
"name": "noise",
|
||||
"guiName": "Reduce Noise"
|
||||
|
||||
},
|
||||
{
|
||||
"default": 0.5,
|
||||
"max": 1,
|
||||
"min": 0,
|
||||
"name": "details",
|
||||
"guiName": "Reduce Large Grain"
|
||||
},
|
||||
{
|
||||
"default": 0.5,
|
||||
"max": 1,
|
||||
"min": 0,
|
||||
"name": "halo",
|
||||
"guiName": "Dehalo"
|
||||
},
|
||||
{
|
||||
"default": 0.5,
|
||||
"max": 1,
|
||||
"min": 0,
|
||||
"name": "blur",
|
||||
"guiName": "Sharpen"
|
||||
},
|
||||
{
|
||||
"default": 0.5,
|
||||
"max": 1,
|
||||
"min": 0,
|
||||
"name": "compression",
|
||||
"guiName": "Fix Compression"
|
||||
}
|
||||
],
|
||||
"extraParameters" : [
|
||||
{
|
||||
"default": 0,
|
||||
"max": 0.1,
|
||||
"min": 0,
|
||||
"name": "Add Noise",
|
||||
"guiName": "Add Noise"
|
||||
},
|
||||
{
|
||||
"default": 0,
|
||||
"max": 1,
|
||||
"min": 0,
|
||||
"name": "Nyx Recover Details",
|
||||
"guiName": "Nyx Recover Details"
|
||||
}
|
||||
],
|
||||
"postflight": 0,
|
||||
"preflight": 5,
|
||||
"processors": [
|
||||
"up",
|
||||
"aup"
|
||||
],
|
||||
"scales": [
|
||||
"1",
|
||||
"2"
|
||||
],
|
||||
"shortName": "nyx",
|
||||
"version": "3"
|
||||
}
|
||||
Reference in New Issue
Block a user