File size: 3,233 Bytes
40adac6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | {
"model_type": "liif",
"architecture": {
"type": "LIIFNet (simplified Local Implicit Image Function)",
"num_feat": 64,
"num_res": 16,
"decoder_hidden": 64,
"local_size": 3
},
"scales": {
"arbitrary": true,
"trained_range": [
1.5,
10.0
]
},
"parameters": 1261955,
"input": {
"format": "RGB float32 tensor, shape (B, 3, H, W), values in [0, 1]"
},
"output": {
"format": "RGB float32 tensor, shape (B, 3, target_h, target_w), values in [0, 1]"
},
"inference": {
"signature": "model(lr, target_h, target_w)",
"tile_size": 256,
"overlap": 16,
"tiling": "overlapping tiles + feather blending, compiled inside model_scripted.pt"
},
"training": {
"epochs": 100,
"batch_size": 8,
"patch_size": 128,
"seed": 42,
"amp": true,
"losses": [
"L1",
"VGG perceptual",
"PatchGAN"
],
"dataset": "DIV2K train + Flickr2K (3450 HR images)",
"degradation": "Real-ESRGAN-style (blur, noise, downscale, JPEG)",
"checkpoint_epoch": 100
},
"artifacts": {
"torchscript": "model_scripted.pt",
"weights": "model.safetensors",
"note": "model_scripted.pt is self-contained: no source code is needed to run the model."
},
"export": {
"torch_version": "2.14.1+cu130",
"exported_at": "2026-10-21T18:20:06+00:00",
"method": "torch.jit.script + torch.jit.freeze",
"verification": {
"checks": [
{
"input": [
160,
106
],
"target": [
320,
212
],
"output_shape": [
1,
3,
212,
320
],
"max_abs_diff": 8.344650268554688e-07
},
{
"input": [
160,
106
],
"target": [
509,
335
],
"output_shape": [
1,
3,
335,
509
],
"max_abs_diff": 7.748603820800781e-07
}
],
"max_abs_diff": 8.344650268554688e-07,
"forward_single_shape": [
1,
3,
212,
320
],
"forward_single_ok": true,
"passed": true,
"cuda_shape_check": [
1,
3,
212,
320
],
"cuda_finite": true
},
"examples": {
"source_image": "0801.png",
"files": {
"input.png": [
320,
240
],
"output_4x.png": [
1280,
960
],
"output_10x.jpg": [
1600,
1200
],
"compare.jpg": [
496,
142
]
}
},
"demo": {
"source_image": "a.png",
"scale": 4.0,
"output_name": "demo_output_4x.jpg",
"files": {
"demo_input.png": [
993,
747
],
"demo_output_4x.jpg": [
3972,
2988
],
"demo_compare.jpg": [
520,
278
]
}
}
}
} |