feat: add template json
This commit is contained in:
511
cargos/tvai-v2/models/iris-1.json
Normal file
511
cargos/tvai-v2/models/iris-1.json
Normal file
@@ -0,0 +1,511 @@
|
||||
{
|
||||
"autoModel": "prap-3",
|
||||
"backends": {
|
||||
"coreml": {
|
||||
"model": "irs",
|
||||
"scales": {
|
||||
"1": {
|
||||
"spec": {
|
||||
"0": {
|
||||
"model": "irs",
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
384,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
480,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
480,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"parallel": 1,
|
||||
"nets": [
|
||||
"fnet-fp16-[H]x[W]-[S]x-ml.tz",
|
||||
"gnet-fp16-[H]x[W]-[S]x-ml.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"fnet_output",
|
||||
"gnet_output"
|
||||
]
|
||||
},
|
||||
"13": {
|
||||
"model": "ir",
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
384,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
480,
|
||||
576
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-13-mlp.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"model_output"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"2": {
|
||||
"spec": {
|
||||
"0": {
|
||||
"model": "irs",
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
352,
|
||||
256,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
416,
|
||||
576,
|
||||
576,
|
||||
448,
|
||||
672,
|
||||
384,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"parallel": 1,
|
||||
"nets": [
|
||||
"fnet-fp16-[H]x[W]-[S]x-ml.tz",
|
||||
"gnet-fp16-[H]x[W]-[S]x-ml.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"fnet_output",
|
||||
"gnet_output"
|
||||
]
|
||||
},
|
||||
"13": {
|
||||
"model": "ir",
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
352,
|
||||
256,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
416,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
448
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-13-ane-mlp.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"model_output"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"4": {
|
||||
"spec": {
|
||||
"0": {
|
||||
"model": "irs",
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
352,
|
||||
256,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
416,
|
||||
576,
|
||||
576,
|
||||
448,
|
||||
672,
|
||||
384,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"parallel": 1,
|
||||
"nets": [
|
||||
"fnet-fp16-[H]x[W]-[S]x-ml.tz",
|
||||
"gnet-fp16-[H]x[W]-[S]x-ml.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"fnet_output",
|
||||
"gnet_output"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"onnx": {
|
||||
"model": "ir",
|
||||
"parallel": 1,
|
||||
"scales": {
|
||||
"1": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
384,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
480,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
480,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp32-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
352,
|
||||
256,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
416,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
448,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp32-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
},
|
||||
"4": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
352,
|
||||
256,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
416,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
448,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp32-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"onnx16": {
|
||||
"model": "ir",
|
||||
"parallel": 1,
|
||||
"scales": {
|
||||
"1": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
384,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
480,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
480,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
352,
|
||||
256,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
416,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
448,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
},
|
||||
"4": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
352,
|
||||
256,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
416,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
448,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"openvino": {
|
||||
"model": "ir",
|
||||
"parallel": 1,
|
||||
"scales": {
|
||||
"1": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
384,
|
||||
288,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
480,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
480,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
},
|
||||
"2": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
352,
|
||||
256,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
416,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
448,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
},
|
||||
"4": {
|
||||
"blocks": [
|
||||
288,
|
||||
288,
|
||||
352,
|
||||
256,
|
||||
480,
|
||||
384,
|
||||
384,
|
||||
480,
|
||||
384,
|
||||
576,
|
||||
416,
|
||||
576,
|
||||
672,
|
||||
384,
|
||||
576,
|
||||
448,
|
||||
672,
|
||||
576
|
||||
],
|
||||
"nets": [
|
||||
"fgnet-fp16-[H]x[W]-[S]x-ox.tz"
|
||||
],
|
||||
"outputs": [
|
||||
"out"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"displayName": "Iris",
|
||||
"enabled": 1,
|
||||
"gui": {
|
||||
"name": "Iris - Low Quality"
|
||||
},
|
||||
"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": 1,
|
||||
"key": "CHJPPIOMOMCPNLKEOLFNAPEBPGDDEIGBOOIDFPNMKAMDOEEFMIJJOOEFMEGNMAJJGIGJEPNJKCLDBKJIONNHGKDLPMAOGCHBGFBIHKGHACOBNLOBBONCFFCLBLDIAJNJCDBGFGABNBPJFEFONMKGPEPLBPPKEEGPJDEPACIJEAKIBELIDOHJIKOEBAGMNGBDHFDCMPODGDDGAOCJGBPGHHEPAAKELFPJJLDEGPJADKKOGFLNEBEHNBAPNCHDEHHDPKJKAPNPNIIOHMOFPJMKAIGIMDNMECFDCFNAPOLLDKOFFLAPHDMNFONMOMGFOGPN",
|
||||
"minAppVersion": "3.3.0",
|
||||
"minCMLMacVersion": 10.16,
|
||||
"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": 0,
|
||||
"preflight": 5,
|
||||
"processors": [
|
||||
"up",
|
||||
"aup"
|
||||
],
|
||||
"shortName": "iris",
|
||||
"version": "1",
|
||||
"dependencies": [
|
||||
"prap-3"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user