Add ONNX graphs: ACDC.onnx, ACDC.onnx.config.json, ACDC.onnx.provenance.json, BUSI.onnx, BUSI.onnx.config.json, BUSI.onnx.provenance.json, COVIDQUEx.onnx, COVIDQUEx.onnx.config.json, COVIDQUEx.onnx.provenance.json, DRIVE.onnx, DRIVE.onnx.config.json, DRIVE.onnx.provenance.json, ISIC2018.onnx, ISIC2018.onnx.config.json, ISIC2018.onnx.provenance.json, PROMISE12.onnx, PROMISE12.onnx.config.json, PROMISE12.onnx.provenance.json, UWaterlooSkinCancer.onnx, UWaterlooSkinCancer.onnx.config.json, UWaterlooSkinCancer.onnx.provenance.json (tools/hf_onnx_export.py)
Browse files- ACDC.onnx +3 -0
- ACDC.onnx.config.json +16 -0
- ACDC.onnx.provenance.json +234 -0
- BUSI.onnx +3 -0
- BUSI.onnx.config.json +30 -0
- BUSI.onnx.provenance.json +234 -0
- COVIDQUEx.onnx +3 -0
- COVIDQUEx.onnx.config.json +30 -0
- COVIDQUEx.onnx.provenance.json +234 -0
- DRIVE.onnx +3 -0
- DRIVE.onnx.config.json +30 -0
- DRIVE.onnx.provenance.json +234 -0
- ISIC2018.onnx +3 -0
- ISIC2018.onnx.config.json +30 -0
- ISIC2018.onnx.provenance.json +234 -0
- PROMISE12.onnx +3 -0
- PROMISE12.onnx.config.json +30 -0
- PROMISE12.onnx.provenance.json +234 -0
- UWaterlooSkinCancer.onnx +3 -0
- UWaterlooSkinCancer.onnx.config.json +30 -0
- UWaterlooSkinCancer.onnx.provenance.json +234 -0
ACDC.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27837f696f8a76a79f657b2b975973069ce2054af39363392ea3611431e4adb0
|
| 3 |
+
size 110359159
|
ACDC.onnx.config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "ACDC.pth",
|
| 5 |
+
"sha256": "5b42b32268e198fd945a468639cf38c627338a2a6321214bb26954c9300ee92e",
|
| 6 |
+
"reference": "ACDC.pth",
|
| 7 |
+
"model": "TransResUNet",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "ACDC.pth.config.json",
|
| 12 |
+
"sha256": "86d917e7323cede753ad30d126e800db4ad860eb04d58823fc35bc2d5f8e298d"
|
| 13 |
+
}
|
| 14 |
+
],
|
| 15 |
+
"float32_vs_float64": {
|
| 16 |
+
"shape": [
|
| 17 |
+
1,
|
| 18 |
+
3,
|
| 19 |
+
256,
|
| 20 |
+
256
|
| 21 |
+
],
|
| 22 |
+
"torch": "ok",
|
| 23 |
+
"float64": "ok",
|
| 24 |
+
"threads": 6,
|
| 25 |
+
"max_abs_diff": 4.26563897648613e-05,
|
| 26 |
+
"scale": 8.655679832935087,
|
| 27 |
+
"rel_diff": 4.928138585088675e-06
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"graph": {
|
| 31 |
+
"kind": "onnx",
|
| 32 |
+
"file": "ACDC.onnx",
|
| 33 |
+
"sha256": "27837f696f8a76a79f657b2b975973069ce2054af39363392ea3611431e4adb0",
|
| 34 |
+
"bytes": 110359159,
|
| 35 |
+
"opset": 17,
|
| 36 |
+
"dynamic": false,
|
| 37 |
+
"reason": "trace_specialised",
|
| 38 |
+
"input": "image",
|
| 39 |
+
"output": "logits",
|
| 40 |
+
"input_channel": 3,
|
| 41 |
+
"num_classes": 4,
|
| 42 |
+
"size": [
|
| 43 |
+
256,
|
| 44 |
+
256
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
"exporter": {
|
| 48 |
+
"api": "torch.onnx.export",
|
| 49 |
+
"name": "torchscript",
|
| 50 |
+
"dynamo": false,
|
| 51 |
+
"registered_symbolics": {
|
| 52 |
+
"aten::roll": 17
|
| 53 |
+
},
|
| 54 |
+
"producer": "pytorch 2.13.0",
|
| 55 |
+
"torch": "2.13.0+cpu",
|
| 56 |
+
"onnx": "1.22.0",
|
| 57 |
+
"onnxruntime": "1.29.0"
|
| 58 |
+
},
|
| 59 |
+
"verification_input": {
|
| 60 |
+
"kind": "smooth_random_field",
|
| 61 |
+
"distribution": "normal",
|
| 62 |
+
"coarse_factor": 16,
|
| 63 |
+
"min_coarse": 4,
|
| 64 |
+
"interpolation": "bilinear",
|
| 65 |
+
"align_corners": false,
|
| 66 |
+
"seed": 0
|
| 67 |
+
},
|
| 68 |
+
"attempts": [
|
| 69 |
+
{
|
| 70 |
+
"mode": "dynamic",
|
| 71 |
+
"exporter": "torchscript",
|
| 72 |
+
"outcome": "fell_back",
|
| 73 |
+
"reason": "trace_specialised",
|
| 74 |
+
"error": null,
|
| 75 |
+
"verification": [
|
| 76 |
+
{
|
| 77 |
+
"shape": [
|
| 78 |
+
1,
|
| 79 |
+
3,
|
| 80 |
+
256,
|
| 81 |
+
256
|
| 82 |
+
],
|
| 83 |
+
"torch": "ok",
|
| 84 |
+
"graph": "ok",
|
| 85 |
+
"max_abs_diff": 3.457069396972656e-05,
|
| 86 |
+
"scale": 8.655680656433105,
|
| 87 |
+
"rel_diff": 3.9939890739884e-06
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"shape": [
|
| 91 |
+
1,
|
| 92 |
+
3,
|
| 93 |
+
320,
|
| 94 |
+
320
|
| 95 |
+
],
|
| 96 |
+
"torch": "error",
|
| 97 |
+
"graph": "error",
|
| 98 |
+
"max_abs_diff": null,
|
| 99 |
+
"scale": null,
|
| 100 |
+
"rel_diff": null,
|
| 101 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 400",
|
| 102 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 103 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 400"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"shape": [
|
| 107 |
+
1,
|
| 108 |
+
3,
|
| 109 |
+
224,
|
| 110 |
+
224
|
| 111 |
+
],
|
| 112 |
+
"torch": "error",
|
| 113 |
+
"graph": "error",
|
| 114 |
+
"max_abs_diff": null,
|
| 115 |
+
"scale": null,
|
| 116 |
+
"rel_diff": null,
|
| 117 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 196",
|
| 118 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 119 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 196"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"shape": [
|
| 123 |
+
1,
|
| 124 |
+
3,
|
| 125 |
+
512,
|
| 126 |
+
512
|
| 127 |
+
],
|
| 128 |
+
"torch": "error",
|
| 129 |
+
"graph": "error",
|
| 130 |
+
"max_abs_diff": null,
|
| 131 |
+
"scale": null,
|
| 132 |
+
"rel_diff": null,
|
| 133 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 1024",
|
| 134 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 135 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 1024"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"shape": [
|
| 139 |
+
2,
|
| 140 |
+
3,
|
| 141 |
+
256,
|
| 142 |
+
256
|
| 143 |
+
],
|
| 144 |
+
"torch": "ok",
|
| 145 |
+
"graph": "error",
|
| 146 |
+
"max_abs_diff": null,
|
| 147 |
+
"scale": null,
|
| 148 |
+
"rel_diff": null,
|
| 149 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}",
|
| 150 |
+
"error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}"
|
| 151 |
+
}
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"mode": "static",
|
| 156 |
+
"exporter": "torchscript",
|
| 157 |
+
"outcome": "kept",
|
| 158 |
+
"reason": "trace_specialised",
|
| 159 |
+
"error": null,
|
| 160 |
+
"verification": [
|
| 161 |
+
{
|
| 162 |
+
"shape": [
|
| 163 |
+
1,
|
| 164 |
+
3,
|
| 165 |
+
256,
|
| 166 |
+
256
|
| 167 |
+
],
|
| 168 |
+
"torch": "ok",
|
| 169 |
+
"graph": "ok",
|
| 170 |
+
"max_abs_diff": 3.552436828613281e-05,
|
| 171 |
+
"scale": 8.655680656433105,
|
| 172 |
+
"rel_diff": 4.104168082926011e-06
|
| 173 |
+
}
|
| 174 |
+
]
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"verification": [
|
| 178 |
+
{
|
| 179 |
+
"shape": [
|
| 180 |
+
1,
|
| 181 |
+
3,
|
| 182 |
+
256,
|
| 183 |
+
256
|
| 184 |
+
],
|
| 185 |
+
"torch": "ok",
|
| 186 |
+
"graph": "ok",
|
| 187 |
+
"max_abs_diff": 3.552436828613281e-05,
|
| 188 |
+
"scale": 8.655680656433105,
|
| 189 |
+
"rel_diff": 4.104168082926011e-06
|
| 190 |
+
}
|
| 191 |
+
],
|
| 192 |
+
"exported_at": "2026-09-07T16:33:22+00:00",
|
| 193 |
+
"release": {
|
| 194 |
+
"repo": "MedOtter/TransResUNet",
|
| 195 |
+
"revision": "d1c4b3c0faa778e751654580b24c613ec91a5880",
|
| 196 |
+
"pth_file": "ACDC.pth",
|
| 197 |
+
"pth_sha256": "5b42b32268e198fd945a468639cf38c627338a2a6321214bb26954c9300ee92e",
|
| 198 |
+
"sidecar_sha256": "9867fc324419b3f483f4f5b56708a3271f503d4c68bf7fdb4c768189884baefb",
|
| 199 |
+
"sidecar_source": "existing",
|
| 200 |
+
"group": "checkout_only",
|
| 201 |
+
"reference_check": {
|
| 202 |
+
"dataset": "ACDC",
|
| 203 |
+
"split": "test",
|
| 204 |
+
"samples": 4,
|
| 205 |
+
"reproducible": true,
|
| 206 |
+
"status": "pass",
|
| 207 |
+
"sizes": [
|
| 208 |
+
{
|
| 209 |
+
"size": [
|
| 210 |
+
256,
|
| 211 |
+
256
|
| 212 |
+
],
|
| 213 |
+
"predict_masks_equal": 3,
|
| 214 |
+
"pixels": 262144,
|
| 215 |
+
"disagreeing_pixels": 1,
|
| 216 |
+
"unexplained_pixels": 0,
|
| 217 |
+
"max_abs_diff": 0.0009212493896484375,
|
| 218 |
+
"scale": 513.4686889648438,
|
| 219 |
+
"rel_diff": 1.7941685821304554e-06,
|
| 220 |
+
"float32_vs_float64": {
|
| 221 |
+
"max_abs_diff": 0.0012198969531311832,
|
| 222 |
+
"scale": 513.4684262029745,
|
| 223 |
+
"rel_diff": 2.3757974022904322e-06,
|
| 224 |
+
"samples": 4,
|
| 225 |
+
"of": 4,
|
| 226 |
+
"complete": true
|
| 227 |
+
}
|
| 228 |
+
}
|
| 229 |
+
]
|
| 230 |
+
},
|
| 231 |
+
"tool": "tools/hf_onnx_export.py",
|
| 232 |
+
"stamped_at": "2026-09-07T16:33:42+00:00"
|
| 233 |
+
}
|
| 234 |
+
}
|
BUSI.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aee00249110972ffdbe4048317a81215e63f573475d889463cde1e9c852950e2
|
| 3 |
+
size 110358763
|
BUSI.onnx.config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/model-sidecar/v1",
|
| 3 |
+
"model": {
|
| 4 |
+
"graph": "onnx",
|
| 5 |
+
"args": {
|
| 6 |
+
"input_channel": 3,
|
| 7 |
+
"num_classes": 1
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"inference": {
|
| 11 |
+
"normalize": {
|
| 12 |
+
"mean": [
|
| 13 |
+
0.485,
|
| 14 |
+
0.456,
|
| 15 |
+
0.406
|
| 16 |
+
],
|
| 17 |
+
"std": [
|
| 18 |
+
58.395,
|
| 19 |
+
57.12,
|
| 20 |
+
57.375
|
| 21 |
+
]
|
| 22 |
+
},
|
| 23 |
+
"scale": 255.0,
|
| 24 |
+
"size": [
|
| 25 |
+
256,
|
| 26 |
+
256
|
| 27 |
+
],
|
| 28 |
+
"threshold": 0.5
|
| 29 |
+
}
|
| 30 |
+
}
|
BUSI.onnx.provenance.json
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "BUSI.pth",
|
| 5 |
+
"sha256": "aeca33fb38f60ff253c667efb08260072a23d5a2fd498fff85aa317c6fdd2f93",
|
| 6 |
+
"reference": "BUSI.pth",
|
| 7 |
+
"model": "TransResUNet",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "BUSI.pth.config.json",
|
| 12 |
+
"sha256": "edcf4703dc022ade478f2bd65d5be62b2ebe9ad8bad93bb61ec35f028e118981"
|
| 13 |
+
}
|
| 14 |
+
],
|
| 15 |
+
"float32_vs_float64": {
|
| 16 |
+
"shape": [
|
| 17 |
+
1,
|
| 18 |
+
3,
|
| 19 |
+
256,
|
| 20 |
+
256
|
| 21 |
+
],
|
| 22 |
+
"torch": "ok",
|
| 23 |
+
"float64": "ok",
|
| 24 |
+
"threads": 6,
|
| 25 |
+
"max_abs_diff": 0.00043290318049571397,
|
| 26 |
+
"scale": 409.878107177443,
|
| 27 |
+
"rel_diff": 1.056175416337382e-06
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"graph": {
|
| 31 |
+
"kind": "onnx",
|
| 32 |
+
"file": "BUSI.onnx",
|
| 33 |
+
"sha256": "aee00249110972ffdbe4048317a81215e63f573475d889463cde1e9c852950e2",
|
| 34 |
+
"bytes": 110358763,
|
| 35 |
+
"opset": 17,
|
| 36 |
+
"dynamic": false,
|
| 37 |
+
"reason": "trace_specialised",
|
| 38 |
+
"input": "image",
|
| 39 |
+
"output": "logits",
|
| 40 |
+
"input_channel": 3,
|
| 41 |
+
"num_classes": 1,
|
| 42 |
+
"size": [
|
| 43 |
+
256,
|
| 44 |
+
256
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
"exporter": {
|
| 48 |
+
"api": "torch.onnx.export",
|
| 49 |
+
"name": "torchscript",
|
| 50 |
+
"dynamo": false,
|
| 51 |
+
"registered_symbolics": {
|
| 52 |
+
"aten::roll": 17
|
| 53 |
+
},
|
| 54 |
+
"producer": "pytorch 2.13.0",
|
| 55 |
+
"torch": "2.13.0+cpu",
|
| 56 |
+
"onnx": "1.22.0",
|
| 57 |
+
"onnxruntime": "1.29.0"
|
| 58 |
+
},
|
| 59 |
+
"verification_input": {
|
| 60 |
+
"kind": "smooth_random_field",
|
| 61 |
+
"distribution": "normal",
|
| 62 |
+
"coarse_factor": 16,
|
| 63 |
+
"min_coarse": 4,
|
| 64 |
+
"interpolation": "bilinear",
|
| 65 |
+
"align_corners": false,
|
| 66 |
+
"seed": 0
|
| 67 |
+
},
|
| 68 |
+
"attempts": [
|
| 69 |
+
{
|
| 70 |
+
"mode": "dynamic",
|
| 71 |
+
"exporter": "torchscript",
|
| 72 |
+
"outcome": "fell_back",
|
| 73 |
+
"reason": "trace_specialised",
|
| 74 |
+
"error": null,
|
| 75 |
+
"verification": [
|
| 76 |
+
{
|
| 77 |
+
"shape": [
|
| 78 |
+
1,
|
| 79 |
+
3,
|
| 80 |
+
256,
|
| 81 |
+
256
|
| 82 |
+
],
|
| 83 |
+
"torch": "ok",
|
| 84 |
+
"graph": "ok",
|
| 85 |
+
"max_abs_diff": 0.0005340576171875,
|
| 86 |
+
"scale": 409.8778991699219,
|
| 87 |
+
"rel_diff": 1.3029675868571224e-06
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"shape": [
|
| 91 |
+
1,
|
| 92 |
+
3,
|
| 93 |
+
320,
|
| 94 |
+
320
|
| 95 |
+
],
|
| 96 |
+
"torch": "error",
|
| 97 |
+
"graph": "error",
|
| 98 |
+
"max_abs_diff": null,
|
| 99 |
+
"scale": null,
|
| 100 |
+
"rel_diff": null,
|
| 101 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 400",
|
| 102 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 103 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 400"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"shape": [
|
| 107 |
+
1,
|
| 108 |
+
3,
|
| 109 |
+
224,
|
| 110 |
+
224
|
| 111 |
+
],
|
| 112 |
+
"torch": "error",
|
| 113 |
+
"graph": "error",
|
| 114 |
+
"max_abs_diff": null,
|
| 115 |
+
"scale": null,
|
| 116 |
+
"rel_diff": null,
|
| 117 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 196",
|
| 118 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 119 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 196"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"shape": [
|
| 123 |
+
1,
|
| 124 |
+
3,
|
| 125 |
+
512,
|
| 126 |
+
512
|
| 127 |
+
],
|
| 128 |
+
"torch": "error",
|
| 129 |
+
"graph": "error",
|
| 130 |
+
"max_abs_diff": null,
|
| 131 |
+
"scale": null,
|
| 132 |
+
"rel_diff": null,
|
| 133 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 1024",
|
| 134 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 135 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 1024"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"shape": [
|
| 139 |
+
2,
|
| 140 |
+
3,
|
| 141 |
+
256,
|
| 142 |
+
256
|
| 143 |
+
],
|
| 144 |
+
"torch": "ok",
|
| 145 |
+
"graph": "error",
|
| 146 |
+
"max_abs_diff": null,
|
| 147 |
+
"scale": null,
|
| 148 |
+
"rel_diff": null,
|
| 149 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}",
|
| 150 |
+
"error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}"
|
| 151 |
+
}
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"mode": "static",
|
| 156 |
+
"exporter": "torchscript",
|
| 157 |
+
"outcome": "kept",
|
| 158 |
+
"reason": "trace_specialised",
|
| 159 |
+
"error": null,
|
| 160 |
+
"verification": [
|
| 161 |
+
{
|
| 162 |
+
"shape": [
|
| 163 |
+
1,
|
| 164 |
+
3,
|
| 165 |
+
256,
|
| 166 |
+
256
|
| 167 |
+
],
|
| 168 |
+
"torch": "ok",
|
| 169 |
+
"graph": "ok",
|
| 170 |
+
"max_abs_diff": 0.0005035400390625,
|
| 171 |
+
"scale": 409.8778991699219,
|
| 172 |
+
"rel_diff": 1.2285122961795724e-06
|
| 173 |
+
}
|
| 174 |
+
]
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"verification": [
|
| 178 |
+
{
|
| 179 |
+
"shape": [
|
| 180 |
+
1,
|
| 181 |
+
3,
|
| 182 |
+
256,
|
| 183 |
+
256
|
| 184 |
+
],
|
| 185 |
+
"torch": "ok",
|
| 186 |
+
"graph": "ok",
|
| 187 |
+
"max_abs_diff": 0.0005035400390625,
|
| 188 |
+
"scale": 409.8778991699219,
|
| 189 |
+
"rel_diff": 1.2285122961795724e-06
|
| 190 |
+
}
|
| 191 |
+
],
|
| 192 |
+
"exported_at": "2026-09-07T16:33:34+00:00",
|
| 193 |
+
"release": {
|
| 194 |
+
"repo": "MedOtter/TransResUNet",
|
| 195 |
+
"revision": "d1c4b3c0faa778e751654580b24c613ec91a5880",
|
| 196 |
+
"pth_file": "BUSI.pth",
|
| 197 |
+
"pth_sha256": "aeca33fb38f60ff253c667efb08260072a23d5a2fd498fff85aa317c6fdd2f93",
|
| 198 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 199 |
+
"sidecar_source": "existing",
|
| 200 |
+
"group": "checkout_only",
|
| 201 |
+
"reference_check": {
|
| 202 |
+
"dataset": "BUSI",
|
| 203 |
+
"split": "train",
|
| 204 |
+
"samples": 4,
|
| 205 |
+
"reproducible": true,
|
| 206 |
+
"status": "pass",
|
| 207 |
+
"sizes": [
|
| 208 |
+
{
|
| 209 |
+
"size": [
|
| 210 |
+
256,
|
| 211 |
+
256
|
| 212 |
+
],
|
| 213 |
+
"predict_masks_equal": 4,
|
| 214 |
+
"pixels": 262144,
|
| 215 |
+
"disagreeing_pixels": 0,
|
| 216 |
+
"unexplained_pixels": 0,
|
| 217 |
+
"max_abs_diff": 7.146596908569336e-05,
|
| 218 |
+
"scale": 15.348051071166992,
|
| 219 |
+
"rel_diff": 4.656354657299132e-06,
|
| 220 |
+
"float32_vs_float64": {
|
| 221 |
+
"max_abs_diff": 0.00015059199011652202,
|
| 222 |
+
"scale": 15.348048942973545,
|
| 223 |
+
"rel_diff": 9.811800227902205e-06,
|
| 224 |
+
"samples": 4,
|
| 225 |
+
"of": 4,
|
| 226 |
+
"complete": true
|
| 227 |
+
}
|
| 228 |
+
}
|
| 229 |
+
]
|
| 230 |
+
},
|
| 231 |
+
"tool": "tools/hf_onnx_export.py",
|
| 232 |
+
"stamped_at": "2026-09-07T16:33:50+00:00"
|
| 233 |
+
}
|
| 234 |
+
}
|
COVIDQUEx.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d80fde0868274f685184e663742296b5a5fac72ab46017bf67343de1ee36788
|
| 3 |
+
size 110358763
|
COVIDQUEx.onnx.config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/model-sidecar/v1",
|
| 3 |
+
"model": {
|
| 4 |
+
"graph": "onnx",
|
| 5 |
+
"args": {
|
| 6 |
+
"input_channel": 3,
|
| 7 |
+
"num_classes": 1
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"inference": {
|
| 11 |
+
"normalize": {
|
| 12 |
+
"mean": [
|
| 13 |
+
0.485,
|
| 14 |
+
0.456,
|
| 15 |
+
0.406
|
| 16 |
+
],
|
| 17 |
+
"std": [
|
| 18 |
+
58.395,
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "COVIDQUEx.pth",
|
| 5 |
+
"sha256": "27fcefdd733009a749a03c9706865aa78c4c51a45920f3e24ee9754d3a8defcf",
|
| 6 |
+
"reference": "COVIDQUEx.pth",
|
| 7 |
+
"model": "TransResUNet",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "COVIDQUEx.pth.config.json",
|
| 12 |
+
"sha256": "edcf4703dc022ade478f2bd65d5be62b2ebe9ad8bad93bb61ec35f028e118981"
|
| 13 |
+
}
|
| 14 |
+
],
|
| 15 |
+
"float32_vs_float64": {
|
| 16 |
+
"shape": [
|
| 17 |
+
1,
|
| 18 |
+
3,
|
| 19 |
+
256,
|
| 20 |
+
256
|
| 21 |
+
],
|
| 22 |
+
"torch": "ok",
|
| 23 |
+
"float64": "ok",
|
| 24 |
+
"threads": 6,
|
| 25 |
+
"max_abs_diff": 0.0017832694804837956,
|
| 26 |
+
"scale": 1703.6846741858099,
|
| 27 |
+
"rel_diff": 1.046713342852614e-06
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"graph": {
|
| 31 |
+
"kind": "onnx",
|
| 32 |
+
"file": "COVIDQUEx.onnx",
|
| 33 |
+
"sha256": "1d80fde0868274f685184e663742296b5a5fac72ab46017bf67343de1ee36788",
|
| 34 |
+
"bytes": 110358763,
|
| 35 |
+
"opset": 17,
|
| 36 |
+
"dynamic": false,
|
| 37 |
+
"reason": "trace_specialised",
|
| 38 |
+
"input": "image",
|
| 39 |
+
"output": "logits",
|
| 40 |
+
"input_channel": 3,
|
| 41 |
+
"num_classes": 1,
|
| 42 |
+
"size": [
|
| 43 |
+
256,
|
| 44 |
+
256
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
"exporter": {
|
| 48 |
+
"api": "torch.onnx.export",
|
| 49 |
+
"name": "torchscript",
|
| 50 |
+
"dynamo": false,
|
| 51 |
+
"registered_symbolics": {
|
| 52 |
+
"aten::roll": 17
|
| 53 |
+
},
|
| 54 |
+
"producer": "pytorch 2.13.0",
|
| 55 |
+
"torch": "2.13.0+cpu",
|
| 56 |
+
"onnx": "1.22.0",
|
| 57 |
+
"onnxruntime": "1.29.0"
|
| 58 |
+
},
|
| 59 |
+
"verification_input": {
|
| 60 |
+
"kind": "smooth_random_field",
|
| 61 |
+
"distribution": "normal",
|
| 62 |
+
"coarse_factor": 16,
|
| 63 |
+
"min_coarse": 4,
|
| 64 |
+
"interpolation": "bilinear",
|
| 65 |
+
"align_corners": false,
|
| 66 |
+
"seed": 0
|
| 67 |
+
},
|
| 68 |
+
"attempts": [
|
| 69 |
+
{
|
| 70 |
+
"mode": "dynamic",
|
| 71 |
+
"exporter": "torchscript",
|
| 72 |
+
"outcome": "fell_back",
|
| 73 |
+
"reason": "trace_specialised",
|
| 74 |
+
"error": null,
|
| 75 |
+
"verification": [
|
| 76 |
+
{
|
| 77 |
+
"shape": [
|
| 78 |
+
1,
|
| 79 |
+
3,
|
| 80 |
+
256,
|
| 81 |
+
256
|
| 82 |
+
],
|
| 83 |
+
"torch": "ok",
|
| 84 |
+
"graph": "ok",
|
| 85 |
+
"max_abs_diff": 0.001708984375,
|
| 86 |
+
"scale": 1703.6845703125,
|
| 87 |
+
"rel_diff": 1.0031107898609e-06
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"shape": [
|
| 91 |
+
1,
|
| 92 |
+
3,
|
| 93 |
+
320,
|
| 94 |
+
320
|
| 95 |
+
],
|
| 96 |
+
"torch": "error",
|
| 97 |
+
"graph": "error",
|
| 98 |
+
"max_abs_diff": null,
|
| 99 |
+
"scale": null,
|
| 100 |
+
"rel_diff": null,
|
| 101 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 400",
|
| 102 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 103 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 400"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"shape": [
|
| 107 |
+
1,
|
| 108 |
+
3,
|
| 109 |
+
224,
|
| 110 |
+
224
|
| 111 |
+
],
|
| 112 |
+
"torch": "error",
|
| 113 |
+
"graph": "error",
|
| 114 |
+
"max_abs_diff": null,
|
| 115 |
+
"scale": null,
|
| 116 |
+
"rel_diff": null,
|
| 117 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 196",
|
| 118 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 119 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 196"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"shape": [
|
| 123 |
+
1,
|
| 124 |
+
3,
|
| 125 |
+
512,
|
| 126 |
+
512
|
| 127 |
+
],
|
| 128 |
+
"torch": "error",
|
| 129 |
+
"graph": "error",
|
| 130 |
+
"max_abs_diff": null,
|
| 131 |
+
"scale": null,
|
| 132 |
+
"rel_diff": null,
|
| 133 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 1024",
|
| 134 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 135 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 1024"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"shape": [
|
| 139 |
+
2,
|
| 140 |
+
3,
|
| 141 |
+
256,
|
| 142 |
+
256
|
| 143 |
+
],
|
| 144 |
+
"torch": "ok",
|
| 145 |
+
"graph": "error",
|
| 146 |
+
"max_abs_diff": null,
|
| 147 |
+
"scale": null,
|
| 148 |
+
"rel_diff": null,
|
| 149 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}",
|
| 150 |
+
"error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}"
|
| 151 |
+
}
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"mode": "static",
|
| 156 |
+
"exporter": "torchscript",
|
| 157 |
+
"outcome": "kept",
|
| 158 |
+
"reason": "trace_specialised",
|
| 159 |
+
"error": null,
|
| 160 |
+
"verification": [
|
| 161 |
+
{
|
| 162 |
+
"shape": [
|
| 163 |
+
1,
|
| 164 |
+
3,
|
| 165 |
+
256,
|
| 166 |
+
256
|
| 167 |
+
],
|
| 168 |
+
"torch": "ok",
|
| 169 |
+
"graph": "ok",
|
| 170 |
+
"max_abs_diff": 0.0018310546875,
|
| 171 |
+
"scale": 1703.6845703125,
|
| 172 |
+
"rel_diff": 1.07476156056525e-06
|
| 173 |
+
}
|
| 174 |
+
]
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"verification": [
|
| 178 |
+
{
|
| 179 |
+
"shape": [
|
| 180 |
+
1,
|
| 181 |
+
3,
|
| 182 |
+
256,
|
| 183 |
+
256
|
| 184 |
+
],
|
| 185 |
+
"torch": "ok",
|
| 186 |
+
"graph": "ok",
|
| 187 |
+
"max_abs_diff": 0.0018310546875,
|
| 188 |
+
"scale": 1703.6845703125,
|
| 189 |
+
"rel_diff": 1.07476156056525e-06
|
| 190 |
+
}
|
| 191 |
+
],
|
| 192 |
+
"exported_at": "2026-09-07T16:33:34+00:00",
|
| 193 |
+
"release": {
|
| 194 |
+
"repo": "MedOtter/TransResUNet",
|
| 195 |
+
"revision": "d1c4b3c0faa778e751654580b24c613ec91a5880",
|
| 196 |
+
"pth_file": "COVIDQUEx.pth",
|
| 197 |
+
"pth_sha256": "27fcefdd733009a749a03c9706865aa78c4c51a45920f3e24ee9754d3a8defcf",
|
| 198 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 199 |
+
"sidecar_source": "existing",
|
| 200 |
+
"group": "checkout_only",
|
| 201 |
+
"reference_check": {
|
| 202 |
+
"dataset": "COVIDQUEx",
|
| 203 |
+
"split": "val",
|
| 204 |
+
"samples": 4,
|
| 205 |
+
"reproducible": true,
|
| 206 |
+
"status": "pass",
|
| 207 |
+
"sizes": [
|
| 208 |
+
{
|
| 209 |
+
"size": [
|
| 210 |
+
256,
|
| 211 |
+
256
|
| 212 |
+
],
|
| 213 |
+
"predict_masks_equal": 4,
|
| 214 |
+
"pixels": 262144,
|
| 215 |
+
"disagreeing_pixels": 0,
|
| 216 |
+
"unexplained_pixels": 0,
|
| 217 |
+
"max_abs_diff": 9.804964065551758e-05,
|
| 218 |
+
"scale": 18.28718376159668,
|
| 219 |
+
"rel_diff": 5.361658849922156e-06,
|
| 220 |
+
"float32_vs_float64": {
|
| 221 |
+
"max_abs_diff": 8.548165664457041e-05,
|
| 222 |
+
"scale": 18.287186674658017,
|
| 223 |
+
"rel_diff": 4.674401708986163e-06,
|
| 224 |
+
"samples": 4,
|
| 225 |
+
"of": 4,
|
| 226 |
+
"complete": true
|
| 227 |
+
}
|
| 228 |
+
}
|
| 229 |
+
]
|
| 230 |
+
},
|
| 231 |
+
"tool": "tools/hf_onnx_export.py",
|
| 232 |
+
"stamped_at": "2026-09-07T16:33:56+00:00"
|
| 233 |
+
}
|
| 234 |
+
}
|
DRIVE.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ab00c7295a4237c79f5927574de9d95e45ab2aa1c0691540be2763a86066427c
|
| 3 |
+
size 110358763
|
DRIVE.onnx.config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/model-sidecar/v1",
|
| 3 |
+
"model": {
|
| 4 |
+
"graph": "onnx",
|
| 5 |
+
"args": {
|
| 6 |
+
"input_channel": 3,
|
| 7 |
+
"num_classes": 1
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"inference": {
|
| 11 |
+
"normalize": {
|
| 12 |
+
"mean": [
|
| 13 |
+
0.485,
|
| 14 |
+
0.456,
|
| 15 |
+
0.406
|
| 16 |
+
],
|
| 17 |
+
"std": [
|
| 18 |
+
58.395,
|
| 19 |
+
57.12,
|
| 20 |
+
57.375
|
| 21 |
+
]
|
| 22 |
+
},
|
| 23 |
+
"scale": 255.0,
|
| 24 |
+
"size": [
|
| 25 |
+
256,
|
| 26 |
+
256
|
| 27 |
+
],
|
| 28 |
+
"threshold": 0.5
|
| 29 |
+
}
|
| 30 |
+
}
|
DRIVE.onnx.provenance.json
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "DRIVE.pth",
|
| 5 |
+
"sha256": "6997989d00cefe47d6a28704dd4e3278b10edb1f91c2f3e4bf97a2e6d0fb8b7b",
|
| 6 |
+
"reference": "DRIVE.pth",
|
| 7 |
+
"model": "TransResUNet",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "DRIVE.pth.config.json",
|
| 12 |
+
"sha256": "edcf4703dc022ade478f2bd65d5be62b2ebe9ad8bad93bb61ec35f028e118981"
|
| 13 |
+
}
|
| 14 |
+
],
|
| 15 |
+
"float32_vs_float64": {
|
| 16 |
+
"shape": [
|
| 17 |
+
1,
|
| 18 |
+
3,
|
| 19 |
+
256,
|
| 20 |
+
256
|
| 21 |
+
],
|
| 22 |
+
"torch": "ok",
|
| 23 |
+
"float64": "ok",
|
| 24 |
+
"threads": 6,
|
| 25 |
+
"max_abs_diff": 0.009234726483555278,
|
| 26 |
+
"scale": 938.2547128886081,
|
| 27 |
+
"rel_diff": 9.84245147580905e-06
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"graph": {
|
| 31 |
+
"kind": "onnx",
|
| 32 |
+
"file": "DRIVE.onnx",
|
| 33 |
+
"sha256": "ab00c7295a4237c79f5927574de9d95e45ab2aa1c0691540be2763a86066427c",
|
| 34 |
+
"bytes": 110358763,
|
| 35 |
+
"opset": 17,
|
| 36 |
+
"dynamic": false,
|
| 37 |
+
"reason": "trace_specialised",
|
| 38 |
+
"input": "image",
|
| 39 |
+
"output": "logits",
|
| 40 |
+
"input_channel": 3,
|
| 41 |
+
"num_classes": 1,
|
| 42 |
+
"size": [
|
| 43 |
+
256,
|
| 44 |
+
256
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
"exporter": {
|
| 48 |
+
"api": "torch.onnx.export",
|
| 49 |
+
"name": "torchscript",
|
| 50 |
+
"dynamo": false,
|
| 51 |
+
"registered_symbolics": {
|
| 52 |
+
"aten::roll": 17
|
| 53 |
+
},
|
| 54 |
+
"producer": "pytorch 2.13.0",
|
| 55 |
+
"torch": "2.13.0+cpu",
|
| 56 |
+
"onnx": "1.22.0",
|
| 57 |
+
"onnxruntime": "1.29.0"
|
| 58 |
+
},
|
| 59 |
+
"verification_input": {
|
| 60 |
+
"kind": "smooth_random_field",
|
| 61 |
+
"distribution": "normal",
|
| 62 |
+
"coarse_factor": 16,
|
| 63 |
+
"min_coarse": 4,
|
| 64 |
+
"interpolation": "bilinear",
|
| 65 |
+
"align_corners": false,
|
| 66 |
+
"seed": 0
|
| 67 |
+
},
|
| 68 |
+
"attempts": [
|
| 69 |
+
{
|
| 70 |
+
"mode": "dynamic",
|
| 71 |
+
"exporter": "torchscript",
|
| 72 |
+
"outcome": "fell_back",
|
| 73 |
+
"reason": "trace_specialised",
|
| 74 |
+
"error": null,
|
| 75 |
+
"verification": [
|
| 76 |
+
{
|
| 77 |
+
"shape": [
|
| 78 |
+
1,
|
| 79 |
+
3,
|
| 80 |
+
256,
|
| 81 |
+
256
|
| 82 |
+
],
|
| 83 |
+
"torch": "ok",
|
| 84 |
+
"graph": "ok",
|
| 85 |
+
"max_abs_diff": 0.008941650390625,
|
| 86 |
+
"scale": 938.256103515625,
|
| 87 |
+
"rel_diff": 9.530074312462058e-06
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"shape": [
|
| 91 |
+
1,
|
| 92 |
+
3,
|
| 93 |
+
320,
|
| 94 |
+
320
|
| 95 |
+
],
|
| 96 |
+
"torch": "error",
|
| 97 |
+
"graph": "error",
|
| 98 |
+
"max_abs_diff": null,
|
| 99 |
+
"scale": null,
|
| 100 |
+
"rel_diff": null,
|
| 101 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 400",
|
| 102 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 103 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 400"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"shape": [
|
| 107 |
+
1,
|
| 108 |
+
3,
|
| 109 |
+
224,
|
| 110 |
+
224
|
| 111 |
+
],
|
| 112 |
+
"torch": "error",
|
| 113 |
+
"graph": "error",
|
| 114 |
+
"max_abs_diff": null,
|
| 115 |
+
"scale": null,
|
| 116 |
+
"rel_diff": null,
|
| 117 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 196",
|
| 118 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 119 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 196"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"shape": [
|
| 123 |
+
1,
|
| 124 |
+
3,
|
| 125 |
+
512,
|
| 126 |
+
512
|
| 127 |
+
],
|
| 128 |
+
"torch": "error",
|
| 129 |
+
"graph": "error",
|
| 130 |
+
"max_abs_diff": null,
|
| 131 |
+
"scale": null,
|
| 132 |
+
"rel_diff": null,
|
| 133 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 1024",
|
| 134 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 135 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 1024"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"shape": [
|
| 139 |
+
2,
|
| 140 |
+
3,
|
| 141 |
+
256,
|
| 142 |
+
256
|
| 143 |
+
],
|
| 144 |
+
"torch": "ok",
|
| 145 |
+
"graph": "error",
|
| 146 |
+
"max_abs_diff": null,
|
| 147 |
+
"scale": null,
|
| 148 |
+
"rel_diff": null,
|
| 149 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}",
|
| 150 |
+
"error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}"
|
| 151 |
+
}
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"mode": "static",
|
| 156 |
+
"exporter": "torchscript",
|
| 157 |
+
"outcome": "kept",
|
| 158 |
+
"reason": "trace_specialised",
|
| 159 |
+
"error": null,
|
| 160 |
+
"verification": [
|
| 161 |
+
{
|
| 162 |
+
"shape": [
|
| 163 |
+
1,
|
| 164 |
+
3,
|
| 165 |
+
256,
|
| 166 |
+
256
|
| 167 |
+
],
|
| 168 |
+
"torch": "ok",
|
| 169 |
+
"graph": "ok",
|
| 170 |
+
"max_abs_diff": 0.0083465576171875,
|
| 171 |
+
"scale": 938.256103515625,
|
| 172 |
+
"rel_diff": 8.895820219994447e-06
|
| 173 |
+
}
|
| 174 |
+
]
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"verification": [
|
| 178 |
+
{
|
| 179 |
+
"shape": [
|
| 180 |
+
1,
|
| 181 |
+
3,
|
| 182 |
+
256,
|
| 183 |
+
256
|
| 184 |
+
],
|
| 185 |
+
"torch": "ok",
|
| 186 |
+
"graph": "ok",
|
| 187 |
+
"max_abs_diff": 0.0083465576171875,
|
| 188 |
+
"scale": 938.256103515625,
|
| 189 |
+
"rel_diff": 8.895820219994447e-06
|
| 190 |
+
}
|
| 191 |
+
],
|
| 192 |
+
"exported_at": "2026-09-07T16:33:36+00:00",
|
| 193 |
+
"release": {
|
| 194 |
+
"repo": "MedOtter/TransResUNet",
|
| 195 |
+
"revision": "d1c4b3c0faa778e751654580b24c613ec91a5880",
|
| 196 |
+
"pth_file": "DRIVE.pth",
|
| 197 |
+
"pth_sha256": "6997989d00cefe47d6a28704dd4e3278b10edb1f91c2f3e4bf97a2e6d0fb8b7b",
|
| 198 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 199 |
+
"sidecar_source": "existing",
|
| 200 |
+
"group": "checkout_only",
|
| 201 |
+
"reference_check": {
|
| 202 |
+
"dataset": "DRIVE",
|
| 203 |
+
"split": "val",
|
| 204 |
+
"samples": 4,
|
| 205 |
+
"reproducible": true,
|
| 206 |
+
"status": "pass",
|
| 207 |
+
"sizes": [
|
| 208 |
+
{
|
| 209 |
+
"size": [
|
| 210 |
+
256,
|
| 211 |
+
256
|
| 212 |
+
],
|
| 213 |
+
"predict_masks_equal": 4,
|
| 214 |
+
"pixels": 262144,
|
| 215 |
+
"disagreeing_pixels": 0,
|
| 216 |
+
"unexplained_pixels": 0,
|
| 217 |
+
"max_abs_diff": 0.0001976490020751953,
|
| 218 |
+
"scale": 19.41641616821289,
|
| 219 |
+
"rel_diff": 1.0179479073938038e-05,
|
| 220 |
+
"float32_vs_float64": {
|
| 221 |
+
"max_abs_diff": 0.0003062092373806724,
|
| 222 |
+
"scale": 19.416393853757846,
|
| 223 |
+
"rel_diff": 1.577065441126745e-05,
|
| 224 |
+
"samples": 4,
|
| 225 |
+
"of": 4,
|
| 226 |
+
"complete": true
|
| 227 |
+
}
|
| 228 |
+
}
|
| 229 |
+
]
|
| 230 |
+
},
|
| 231 |
+
"tool": "tools/hf_onnx_export.py",
|
| 232 |
+
"stamped_at": "2026-09-07T16:33:53+00:00"
|
| 233 |
+
}
|
| 234 |
+
}
|
ISIC2018.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e577d475adeb30a7625fb54da2c90aee174f60a6c3681d90e13a87c339e70900
|
| 3 |
+
size 110358763
|
ISIC2018.onnx.config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/model-sidecar/v1",
|
| 3 |
+
"model": {
|
| 4 |
+
"graph": "onnx",
|
| 5 |
+
"args": {
|
| 6 |
+
"input_channel": 3,
|
| 7 |
+
"num_classes": 1
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"inference": {
|
| 11 |
+
"normalize": {
|
| 12 |
+
"mean": [
|
| 13 |
+
0.485,
|
| 14 |
+
0.456,
|
| 15 |
+
0.406
|
| 16 |
+
],
|
| 17 |
+
"std": [
|
| 18 |
+
58.395,
|
| 19 |
+
57.12,
|
| 20 |
+
57.375
|
| 21 |
+
]
|
| 22 |
+
},
|
| 23 |
+
"scale": 255.0,
|
| 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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "ISIC2018.pth",
|
| 5 |
+
"sha256": "46d3dd1643609430eb1007ec9664faf03f2b1330d0a4fc06d2815c2618087c17",
|
| 6 |
+
"reference": "ISIC2018.pth",
|
| 7 |
+
"model": "TransResUNet",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "ISIC2018.pth.config.json",
|
| 12 |
+
"sha256": "edcf4703dc022ade478f2bd65d5be62b2ebe9ad8bad93bb61ec35f028e118981"
|
| 13 |
+
}
|
| 14 |
+
],
|
| 15 |
+
"float32_vs_float64": {
|
| 16 |
+
"shape": [
|
| 17 |
+
1,
|
| 18 |
+
3,
|
| 19 |
+
256,
|
| 20 |
+
256
|
| 21 |
+
],
|
| 22 |
+
"torch": "ok",
|
| 23 |
+
"float64": "ok",
|
| 24 |
+
"threads": 6,
|
| 25 |
+
"max_abs_diff": 0.0026160692331345103,
|
| 26 |
+
"scale": 728.9434387677168,
|
| 27 |
+
"rel_diff": 3.588850785949855e-06
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"graph": {
|
| 31 |
+
"kind": "onnx",
|
| 32 |
+
"file": "ISIC2018.onnx",
|
| 33 |
+
"sha256": "e577d475adeb30a7625fb54da2c90aee174f60a6c3681d90e13a87c339e70900",
|
| 34 |
+
"bytes": 110358763,
|
| 35 |
+
"opset": 17,
|
| 36 |
+
"dynamic": false,
|
| 37 |
+
"reason": "trace_specialised",
|
| 38 |
+
"input": "image",
|
| 39 |
+
"output": "logits",
|
| 40 |
+
"input_channel": 3,
|
| 41 |
+
"num_classes": 1,
|
| 42 |
+
"size": [
|
| 43 |
+
256,
|
| 44 |
+
256
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
"exporter": {
|
| 48 |
+
"api": "torch.onnx.export",
|
| 49 |
+
"name": "torchscript",
|
| 50 |
+
"dynamo": false,
|
| 51 |
+
"registered_symbolics": {
|
| 52 |
+
"aten::roll": 17
|
| 53 |
+
},
|
| 54 |
+
"producer": "pytorch 2.13.0",
|
| 55 |
+
"torch": "2.13.0+cpu",
|
| 56 |
+
"onnx": "1.22.0",
|
| 57 |
+
"onnxruntime": "1.29.0"
|
| 58 |
+
},
|
| 59 |
+
"verification_input": {
|
| 60 |
+
"kind": "smooth_random_field",
|
| 61 |
+
"distribution": "normal",
|
| 62 |
+
"coarse_factor": 16,
|
| 63 |
+
"min_coarse": 4,
|
| 64 |
+
"interpolation": "bilinear",
|
| 65 |
+
"align_corners": false,
|
| 66 |
+
"seed": 0
|
| 67 |
+
},
|
| 68 |
+
"attempts": [
|
| 69 |
+
{
|
| 70 |
+
"mode": "dynamic",
|
| 71 |
+
"exporter": "torchscript",
|
| 72 |
+
"outcome": "fell_back",
|
| 73 |
+
"reason": "trace_specialised",
|
| 74 |
+
"error": null,
|
| 75 |
+
"verification": [
|
| 76 |
+
{
|
| 77 |
+
"shape": [
|
| 78 |
+
1,
|
| 79 |
+
3,
|
| 80 |
+
256,
|
| 81 |
+
256
|
| 82 |
+
],
|
| 83 |
+
"torch": "ok",
|
| 84 |
+
"graph": "ok",
|
| 85 |
+
"max_abs_diff": 0.0031375885009765625,
|
| 86 |
+
"scale": 728.9434204101562,
|
| 87 |
+
"rel_diff": 4.304296346088327e-06
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"shape": [
|
| 91 |
+
1,
|
| 92 |
+
3,
|
| 93 |
+
320,
|
| 94 |
+
320
|
| 95 |
+
],
|
| 96 |
+
"torch": "error",
|
| 97 |
+
"graph": "error",
|
| 98 |
+
"max_abs_diff": null,
|
| 99 |
+
"scale": null,
|
| 100 |
+
"rel_diff": null,
|
| 101 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 400",
|
| 102 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 103 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 400"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"shape": [
|
| 107 |
+
1,
|
| 108 |
+
3,
|
| 109 |
+
224,
|
| 110 |
+
224
|
| 111 |
+
],
|
| 112 |
+
"torch": "error",
|
| 113 |
+
"graph": "error",
|
| 114 |
+
"max_abs_diff": null,
|
| 115 |
+
"scale": null,
|
| 116 |
+
"rel_diff": null,
|
| 117 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 196",
|
| 118 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 119 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 196"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"shape": [
|
| 123 |
+
1,
|
| 124 |
+
3,
|
| 125 |
+
512,
|
| 126 |
+
512
|
| 127 |
+
],
|
| 128 |
+
"torch": "error",
|
| 129 |
+
"graph": "error",
|
| 130 |
+
"max_abs_diff": null,
|
| 131 |
+
"scale": null,
|
| 132 |
+
"rel_diff": null,
|
| 133 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 1024",
|
| 134 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 135 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 1024"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"shape": [
|
| 139 |
+
2,
|
| 140 |
+
3,
|
| 141 |
+
256,
|
| 142 |
+
256
|
| 143 |
+
],
|
| 144 |
+
"torch": "ok",
|
| 145 |
+
"graph": "error",
|
| 146 |
+
"max_abs_diff": null,
|
| 147 |
+
"scale": null,
|
| 148 |
+
"rel_diff": null,
|
| 149 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}",
|
| 150 |
+
"error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}"
|
| 151 |
+
}
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"mode": "static",
|
| 156 |
+
"exporter": "torchscript",
|
| 157 |
+
"outcome": "kept",
|
| 158 |
+
"reason": "trace_specialised",
|
| 159 |
+
"error": null,
|
| 160 |
+
"verification": [
|
| 161 |
+
{
|
| 162 |
+
"shape": [
|
| 163 |
+
1,
|
| 164 |
+
3,
|
| 165 |
+
256,
|
| 166 |
+
256
|
| 167 |
+
],
|
| 168 |
+
"torch": "ok",
|
| 169 |
+
"graph": "ok",
|
| 170 |
+
"max_abs_diff": 0.0031261444091796875,
|
| 171 |
+
"scale": 728.9434204101562,
|
| 172 |
+
"rel_diff": 4.288596784947579e-06
|
| 173 |
+
}
|
| 174 |
+
]
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"verification": [
|
| 178 |
+
{
|
| 179 |
+
"shape": [
|
| 180 |
+
1,
|
| 181 |
+
3,
|
| 182 |
+
256,
|
| 183 |
+
256
|
| 184 |
+
],
|
| 185 |
+
"torch": "ok",
|
| 186 |
+
"graph": "ok",
|
| 187 |
+
"max_abs_diff": 0.0031261444091796875,
|
| 188 |
+
"scale": 728.9434204101562,
|
| 189 |
+
"rel_diff": 4.288596784947579e-06
|
| 190 |
+
}
|
| 191 |
+
],
|
| 192 |
+
"exported_at": "2026-09-07T16:34:12+00:00",
|
| 193 |
+
"release": {
|
| 194 |
+
"repo": "MedOtter/TransResUNet",
|
| 195 |
+
"revision": "d1c4b3c0faa778e751654580b24c613ec91a5880",
|
| 196 |
+
"pth_file": "ISIC2018.pth",
|
| 197 |
+
"pth_sha256": "46d3dd1643609430eb1007ec9664faf03f2b1330d0a4fc06d2815c2618087c17",
|
| 198 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 199 |
+
"sidecar_source": "existing",
|
| 200 |
+
"group": "checkout_only",
|
| 201 |
+
"reference_check": {
|
| 202 |
+
"dataset": "ISIC2018",
|
| 203 |
+
"split": "val",
|
| 204 |
+
"samples": 4,
|
| 205 |
+
"reproducible": true,
|
| 206 |
+
"status": "pass",
|
| 207 |
+
"sizes": [
|
| 208 |
+
{
|
| 209 |
+
"size": [
|
| 210 |
+
256,
|
| 211 |
+
256
|
| 212 |
+
],
|
| 213 |
+
"predict_masks_equal": 4,
|
| 214 |
+
"pixels": 262144,
|
| 215 |
+
"disagreeing_pixels": 0,
|
| 216 |
+
"unexplained_pixels": 0,
|
| 217 |
+
"max_abs_diff": 0.00011175870895385742,
|
| 218 |
+
"scale": 19.981767654418945,
|
| 219 |
+
"rel_diff": 5.593034154270236e-06,
|
| 220 |
+
"float32_vs_float64": {
|
| 221 |
+
"max_abs_diff": 0.00020993340229469304,
|
| 222 |
+
"scale": 19.981772619778468,
|
| 223 |
+
"rel_diff": 1.0506245181015402e-05,
|
| 224 |
+
"samples": 4,
|
| 225 |
+
"of": 4,
|
| 226 |
+
"complete": true
|
| 227 |
+
}
|
| 228 |
+
}
|
| 229 |
+
]
|
| 230 |
+
},
|
| 231 |
+
"tool": "tools/hf_onnx_export.py",
|
| 232 |
+
"stamped_at": "2026-09-07T16:34:31+00:00"
|
| 233 |
+
}
|
| 234 |
+
}
|
PROMISE12.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e05859ebb19cd586b532d9c31a22cf67e81d6496cc90f4c108114ee19efc92c2
|
| 3 |
+
size 110358763
|
PROMISE12.onnx.config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/model-sidecar/v1",
|
| 3 |
+
"model": {
|
| 4 |
+
"graph": "onnx",
|
| 5 |
+
"args": {
|
| 6 |
+
"input_channel": 3,
|
| 7 |
+
"num_classes": 1
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"inference": {
|
| 11 |
+
"normalize": {
|
| 12 |
+
"mean": [
|
| 13 |
+
0.485,
|
| 14 |
+
0.456,
|
| 15 |
+
0.406
|
| 16 |
+
],
|
| 17 |
+
"std": [
|
| 18 |
+
58.395,
|
| 19 |
+
57.12,
|
| 20 |
+
57.375
|
| 21 |
+
]
|
| 22 |
+
},
|
| 23 |
+
"scale": 255.0,
|
| 24 |
+
"size": [
|
| 25 |
+
256,
|
| 26 |
+
256
|
| 27 |
+
],
|
| 28 |
+
"threshold": 0.5
|
| 29 |
+
}
|
| 30 |
+
}
|
PROMISE12.onnx.provenance.json
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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otter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "PROMISE12.pth",
|
| 5 |
+
"sha256": "1dddc06f1c42f2096e5002df564abd9a725b213ed377ab8f60dba7575b1afde8",
|
| 6 |
+
"reference": "PROMISE12.pth",
|
| 7 |
+
"model": "TransResUNet",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "PROMISE12.pth.config.json",
|
| 12 |
+
"sha256": "edcf4703dc022ade478f2bd65d5be62b2ebe9ad8bad93bb61ec35f028e118981"
|
| 13 |
+
}
|
| 14 |
+
],
|
| 15 |
+
"float32_vs_float64": {
|
| 16 |
+
"shape": [
|
| 17 |
+
1,
|
| 18 |
+
3,
|
| 19 |
+
256,
|
| 20 |
+
256
|
| 21 |
+
],
|
| 22 |
+
"torch": "ok",
|
| 23 |
+
"float64": "ok",
|
| 24 |
+
"threads": 6,
|
| 25 |
+
"max_abs_diff": 0.0010686246105819919,
|
| 26 |
+
"scale": 506.7389624375033,
|
| 27 |
+
"rel_diff": 2.108826614479613e-06
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"graph": {
|
| 31 |
+
"kind": "onnx",
|
| 32 |
+
"file": "PROMISE12.onnx",
|
| 33 |
+
"sha256": "e05859ebb19cd586b532d9c31a22cf67e81d6496cc90f4c108114ee19efc92c2",
|
| 34 |
+
"bytes": 110358763,
|
| 35 |
+
"opset": 17,
|
| 36 |
+
"dynamic": false,
|
| 37 |
+
"reason": "trace_specialised",
|
| 38 |
+
"input": "image",
|
| 39 |
+
"output": "logits",
|
| 40 |
+
"input_channel": 3,
|
| 41 |
+
"num_classes": 1,
|
| 42 |
+
"size": [
|
| 43 |
+
256,
|
| 44 |
+
256
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
"exporter": {
|
| 48 |
+
"api": "torch.onnx.export",
|
| 49 |
+
"name": "torchscript",
|
| 50 |
+
"dynamo": false,
|
| 51 |
+
"registered_symbolics": {
|
| 52 |
+
"aten::roll": 17
|
| 53 |
+
},
|
| 54 |
+
"producer": "pytorch 2.13.0",
|
| 55 |
+
"torch": "2.13.0+cpu",
|
| 56 |
+
"onnx": "1.22.0",
|
| 57 |
+
"onnxruntime": "1.29.0"
|
| 58 |
+
},
|
| 59 |
+
"verification_input": {
|
| 60 |
+
"kind": "smooth_random_field",
|
| 61 |
+
"distribution": "normal",
|
| 62 |
+
"coarse_factor": 16,
|
| 63 |
+
"min_coarse": 4,
|
| 64 |
+
"interpolation": "bilinear",
|
| 65 |
+
"align_corners": false,
|
| 66 |
+
"seed": 0
|
| 67 |
+
},
|
| 68 |
+
"attempts": [
|
| 69 |
+
{
|
| 70 |
+
"mode": "dynamic",
|
| 71 |
+
"exporter": "torchscript",
|
| 72 |
+
"outcome": "fell_back",
|
| 73 |
+
"reason": "trace_specialised",
|
| 74 |
+
"error": null,
|
| 75 |
+
"verification": [
|
| 76 |
+
{
|
| 77 |
+
"shape": [
|
| 78 |
+
1,
|
| 79 |
+
3,
|
| 80 |
+
256,
|
| 81 |
+
256
|
| 82 |
+
],
|
| 83 |
+
"torch": "ok",
|
| 84 |
+
"graph": "ok",
|
| 85 |
+
"max_abs_diff": 0.001190185546875,
|
| 86 |
+
"scale": 506.7391052246094,
|
| 87 |
+
"rel_diff": 2.348714623765728e-06
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"shape": [
|
| 91 |
+
1,
|
| 92 |
+
3,
|
| 93 |
+
320,
|
| 94 |
+
320
|
| 95 |
+
],
|
| 96 |
+
"torch": "error",
|
| 97 |
+
"graph": "error",
|
| 98 |
+
"max_abs_diff": null,
|
| 99 |
+
"scale": null,
|
| 100 |
+
"rel_diff": null,
|
| 101 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 400",
|
| 102 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 103 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 400"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"shape": [
|
| 107 |
+
1,
|
| 108 |
+
3,
|
| 109 |
+
224,
|
| 110 |
+
224
|
| 111 |
+
],
|
| 112 |
+
"torch": "error",
|
| 113 |
+
"graph": "error",
|
| 114 |
+
"max_abs_diff": null,
|
| 115 |
+
"scale": null,
|
| 116 |
+
"rel_diff": null,
|
| 117 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 196",
|
| 118 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 119 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 196"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"shape": [
|
| 123 |
+
1,
|
| 124 |
+
3,
|
| 125 |
+
512,
|
| 126 |
+
512
|
| 127 |
+
],
|
| 128 |
+
"torch": "error",
|
| 129 |
+
"graph": "error",
|
| 130 |
+
"max_abs_diff": null,
|
| 131 |
+
"scale": null,
|
| 132 |
+
"rel_diff": null,
|
| 133 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 1024",
|
| 134 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 135 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 1024"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"shape": [
|
| 139 |
+
2,
|
| 140 |
+
3,
|
| 141 |
+
256,
|
| 142 |
+
256
|
| 143 |
+
],
|
| 144 |
+
"torch": "ok",
|
| 145 |
+
"graph": "error",
|
| 146 |
+
"max_abs_diff": null,
|
| 147 |
+
"scale": null,
|
| 148 |
+
"rel_diff": null,
|
| 149 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}",
|
| 150 |
+
"error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}"
|
| 151 |
+
}
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"mode": "static",
|
| 156 |
+
"exporter": "torchscript",
|
| 157 |
+
"outcome": "kept",
|
| 158 |
+
"reason": "trace_specialised",
|
| 159 |
+
"error": null,
|
| 160 |
+
"verification": [
|
| 161 |
+
{
|
| 162 |
+
"shape": [
|
| 163 |
+
1,
|
| 164 |
+
3,
|
| 165 |
+
256,
|
| 166 |
+
256
|
| 167 |
+
],
|
| 168 |
+
"torch": "ok",
|
| 169 |
+
"graph": "ok",
|
| 170 |
+
"max_abs_diff": 0.001007080078125,
|
| 171 |
+
"scale": 506.7391052246094,
|
| 172 |
+
"rel_diff": 1.9873739124171545e-06
|
| 173 |
+
}
|
| 174 |
+
]
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"verification": [
|
| 178 |
+
{
|
| 179 |
+
"shape": [
|
| 180 |
+
1,
|
| 181 |
+
3,
|
| 182 |
+
256,
|
| 183 |
+
256
|
| 184 |
+
],
|
| 185 |
+
"torch": "ok",
|
| 186 |
+
"graph": "ok",
|
| 187 |
+
"max_abs_diff": 0.001007080078125,
|
| 188 |
+
"scale": 506.7391052246094,
|
| 189 |
+
"rel_diff": 1.9873739124171545e-06
|
| 190 |
+
}
|
| 191 |
+
],
|
| 192 |
+
"exported_at": "2026-09-07T16:34:12+00:00",
|
| 193 |
+
"release": {
|
| 194 |
+
"repo": "MedOtter/TransResUNet",
|
| 195 |
+
"revision": "d1c4b3c0faa778e751654580b24c613ec91a5880",
|
| 196 |
+
"pth_file": "PROMISE12.pth",
|
| 197 |
+
"pth_sha256": "1dddc06f1c42f2096e5002df564abd9a725b213ed377ab8f60dba7575b1afde8",
|
| 198 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 199 |
+
"sidecar_source": "existing",
|
| 200 |
+
"group": "checkout_only",
|
| 201 |
+
"reference_check": {
|
| 202 |
+
"dataset": "PROMISE12",
|
| 203 |
+
"split": "val",
|
| 204 |
+
"samples": 4,
|
| 205 |
+
"reproducible": true,
|
| 206 |
+
"status": "pass",
|
| 207 |
+
"sizes": [
|
| 208 |
+
{
|
| 209 |
+
"size": [
|
| 210 |
+
256,
|
| 211 |
+
256
|
| 212 |
+
],
|
| 213 |
+
"predict_masks_equal": 4,
|
| 214 |
+
"pixels": 262144,
|
| 215 |
+
"disagreeing_pixels": 0,
|
| 216 |
+
"unexplained_pixels": 0,
|
| 217 |
+
"max_abs_diff": 6.0677528381347656e-05,
|
| 218 |
+
"scale": 15.010115623474121,
|
| 219 |
+
"rel_diff": 4.042442437049244e-06,
|
| 220 |
+
"float32_vs_float64": {
|
| 221 |
+
"max_abs_diff": 0.0001556209890309912,
|
| 222 |
+
"scale": 15.01011934316742,
|
| 223 |
+
"rel_diff": 1.036773828862524e-05,
|
| 224 |
+
"samples": 4,
|
| 225 |
+
"of": 4,
|
| 226 |
+
"complete": true
|
| 227 |
+
}
|
| 228 |
+
}
|
| 229 |
+
]
|
| 230 |
+
},
|
| 231 |
+
"tool": "tools/hf_onnx_export.py",
|
| 232 |
+
"stamped_at": "2026-09-07T16:34:27+00:00"
|
| 233 |
+
}
|
| 234 |
+
}
|
UWaterlooSkinCancer.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a9cc7f093a0ce44d107cd58d503c4b98f3fd9270df124a038a4fa78d9393652a
|
| 3 |
+
size 110358763
|
UWaterlooSkinCancer.onnx.config.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/model-sidecar/v1",
|
| 3 |
+
"model": {
|
| 4 |
+
"graph": "onnx",
|
| 5 |
+
"args": {
|
| 6 |
+
"input_channel": 3,
|
| 7 |
+
"num_classes": 1
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"inference": {
|
| 11 |
+
"normalize": {
|
| 12 |
+
"mean": [
|
| 13 |
+
0.485,
|
| 14 |
+
0.456,
|
| 15 |
+
0.406
|
| 16 |
+
],
|
| 17 |
+
"std": [
|
| 18 |
+
58.395,
|
| 19 |
+
57.12,
|
| 20 |
+
57.375
|
| 21 |
+
]
|
| 22 |
+
},
|
| 23 |
+
"scale": 255.0,
|
| 24 |
+
"size": [
|
| 25 |
+
256,
|
| 26 |
+
256
|
| 27 |
+
],
|
| 28 |
+
"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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "UWaterlooSkinCancer.pth",
|
| 5 |
+
"sha256": "44cca5092b82bcdb324076cdadb215c7edeccacbbe065445a476771eca5ea26b",
|
| 6 |
+
"reference": "UWaterlooSkinCancer.pth",
|
| 7 |
+
"model": "TransResUNet",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "UWaterlooSkinCancer.pth.config.json",
|
| 12 |
+
"sha256": "edcf4703dc022ade478f2bd65d5be62b2ebe9ad8bad93bb61ec35f028e118981"
|
| 13 |
+
}
|
| 14 |
+
],
|
| 15 |
+
"float32_vs_float64": {
|
| 16 |
+
"shape": [
|
| 17 |
+
1,
|
| 18 |
+
3,
|
| 19 |
+
256,
|
| 20 |
+
256
|
| 21 |
+
],
|
| 22 |
+
"torch": "ok",
|
| 23 |
+
"float64": "ok",
|
| 24 |
+
"threads": 6,
|
| 25 |
+
"max_abs_diff": 0.0024743918076524096,
|
| 26 |
+
"scale": 806.5482435155006,
|
| 27 |
+
"rel_diff": 3.0678782423073437e-06
|
| 28 |
+
}
|
| 29 |
+
},
|
| 30 |
+
"graph": {
|
| 31 |
+
"kind": "onnx",
|
| 32 |
+
"file": "UWaterlooSkinCancer.onnx",
|
| 33 |
+
"sha256": "a9cc7f093a0ce44d107cd58d503c4b98f3fd9270df124a038a4fa78d9393652a",
|
| 34 |
+
"bytes": 110358763,
|
| 35 |
+
"opset": 17,
|
| 36 |
+
"dynamic": false,
|
| 37 |
+
"reason": "trace_specialised",
|
| 38 |
+
"input": "image",
|
| 39 |
+
"output": "logits",
|
| 40 |
+
"input_channel": 3,
|
| 41 |
+
"num_classes": 1,
|
| 42 |
+
"size": [
|
| 43 |
+
256,
|
| 44 |
+
256
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
"exporter": {
|
| 48 |
+
"api": "torch.onnx.export",
|
| 49 |
+
"name": "torchscript",
|
| 50 |
+
"dynamo": false,
|
| 51 |
+
"registered_symbolics": {
|
| 52 |
+
"aten::roll": 17
|
| 53 |
+
},
|
| 54 |
+
"producer": "pytorch 2.13.0",
|
| 55 |
+
"torch": "2.13.0+cpu",
|
| 56 |
+
"onnx": "1.22.0",
|
| 57 |
+
"onnxruntime": "1.29.0"
|
| 58 |
+
},
|
| 59 |
+
"verification_input": {
|
| 60 |
+
"kind": "smooth_random_field",
|
| 61 |
+
"distribution": "normal",
|
| 62 |
+
"coarse_factor": 16,
|
| 63 |
+
"min_coarse": 4,
|
| 64 |
+
"interpolation": "bilinear",
|
| 65 |
+
"align_corners": false,
|
| 66 |
+
"seed": 0
|
| 67 |
+
},
|
| 68 |
+
"attempts": [
|
| 69 |
+
{
|
| 70 |
+
"mode": "dynamic",
|
| 71 |
+
"exporter": "torchscript",
|
| 72 |
+
"outcome": "fell_back",
|
| 73 |
+
"reason": "trace_specialised",
|
| 74 |
+
"error": null,
|
| 75 |
+
"verification": [
|
| 76 |
+
{
|
| 77 |
+
"shape": [
|
| 78 |
+
1,
|
| 79 |
+
3,
|
| 80 |
+
256,
|
| 81 |
+
256
|
| 82 |
+
],
|
| 83 |
+
"torch": "ok",
|
| 84 |
+
"graph": "ok",
|
| 85 |
+
"max_abs_diff": 0.002532958984375,
|
| 86 |
+
"scale": 806.5482177734375,
|
| 87 |
+
"rel_diff": 3.1404929408529398e-06
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"shape": [
|
| 91 |
+
1,
|
| 92 |
+
3,
|
| 93 |
+
320,
|
| 94 |
+
320
|
| 95 |
+
],
|
| 96 |
+
"torch": "error",
|
| 97 |
+
"graph": "error",
|
| 98 |
+
"max_abs_diff": null,
|
| 99 |
+
"scale": null,
|
| 100 |
+
"rel_diff": null,
|
| 101 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 400",
|
| 102 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 103 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 400"
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"shape": [
|
| 107 |
+
1,
|
| 108 |
+
3,
|
| 109 |
+
224,
|
| 110 |
+
224
|
| 111 |
+
],
|
| 112 |
+
"torch": "error",
|
| 113 |
+
"graph": "error",
|
| 114 |
+
"max_abs_diff": null,
|
| 115 |
+
"scale": null,
|
| 116 |
+
"rel_diff": null,
|
| 117 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 196",
|
| 118 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 119 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 196"
|
| 120 |
+
},
|
| 121 |
+
{
|
| 122 |
+
"shape": [
|
| 123 |
+
1,
|
| 124 |
+
3,
|
| 125 |
+
512,
|
| 126 |
+
512
|
| 127 |
+
],
|
| 128 |
+
"torch": "error",
|
| 129 |
+
"graph": "error",
|
| 130 |
+
"max_abs_diff": null,
|
| 131 |
+
"scale": null,
|
| 132 |
+
"rel_diff": null,
|
| 133 |
+
"torch_error": "AssertionError: was expecting embedding dimension of 256, but got 1024",
|
| 134 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running MatMul node. Name:'/inner/b1/tblock/layers.0/self_attn/MatMul' Status Message: matmul_helper.h:59 Compute MatMul dimension mismatch",
|
| 135 |
+
"error": "AssertionError: was expecting embedding dimension of 256, but got 1024"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"shape": [
|
| 139 |
+
2,
|
| 140 |
+
3,
|
| 141 |
+
256,
|
| 142 |
+
256
|
| 143 |
+
],
|
| 144 |
+
"torch": "ok",
|
| 145 |
+
"graph": "error",
|
| 146 |
+
"max_abs_diff": null,
|
| 147 |
+
"scale": null,
|
| 148 |
+
"rel_diff": null,
|
| 149 |
+
"graph_error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}",
|
| 150 |
+
"error": "Fail: [ONNXRuntimeError] : 1 : FAIL : Non-zero status code returned while running Reshape node. Name:'/inner/b1/tblock/layers.0/self_attn/Reshape_4' Status Message: /onnxruntime_src/onnxruntime/core/providers/cpu/tensor/reshape_helper.h:91 onnxruntime::ReshapeHelper::ReshapeHelper(const onnxruntime::TensorShape&, onnxruntime::TensorShapeVector&, bool) input_shape_size == requested_shape_size was false. The input tensor cannot be reshaped to the requested shape. Input shape:{2,256,256}, requested shape:{1,2048,32}"
|
| 151 |
+
}
|
| 152 |
+
]
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"mode": "static",
|
| 156 |
+
"exporter": "torchscript",
|
| 157 |
+
"outcome": "kept",
|
| 158 |
+
"reason": "trace_specialised",
|
| 159 |
+
"error": null,
|
| 160 |
+
"verification": [
|
| 161 |
+
{
|
| 162 |
+
"shape": [
|
| 163 |
+
1,
|
| 164 |
+
3,
|
| 165 |
+
256,
|
| 166 |
+
256
|
| 167 |
+
],
|
| 168 |
+
"torch": "ok",
|
| 169 |
+
"graph": "ok",
|
| 170 |
+
"max_abs_diff": 0.002593994140625,
|
| 171 |
+
"scale": 806.5482177734375,
|
| 172 |
+
"rel_diff": 3.216167469548191e-06
|
| 173 |
+
}
|
| 174 |
+
]
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"verification": [
|
| 178 |
+
{
|
| 179 |
+
"shape": [
|
| 180 |
+
1,
|
| 181 |
+
3,
|
| 182 |
+
256,
|
| 183 |
+
256
|
| 184 |
+
],
|
| 185 |
+
"torch": "ok",
|
| 186 |
+
"graph": "ok",
|
| 187 |
+
"max_abs_diff": 0.002593994140625,
|
| 188 |
+
"scale": 806.5482177734375,
|
| 189 |
+
"rel_diff": 3.216167469548191e-06
|
| 190 |
+
}
|
| 191 |
+
],
|
| 192 |
+
"exported_at": "2026-09-07T16:34:17+00:00",
|
| 193 |
+
"release": {
|
| 194 |
+
"repo": "MedOtter/TransResUNet",
|
| 195 |
+
"revision": "d1c4b3c0faa778e751654580b24c613ec91a5880",
|
| 196 |
+
"pth_file": "UWaterlooSkinCancer.pth",
|
| 197 |
+
"pth_sha256": "44cca5092b82bcdb324076cdadb215c7edeccacbbe065445a476771eca5ea26b",
|
| 198 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 199 |
+
"sidecar_source": "existing",
|
| 200 |
+
"group": "checkout_only",
|
| 201 |
+
"reference_check": {
|
| 202 |
+
"dataset": "UWaterlooSkinCancer",
|
| 203 |
+
"split": "val",
|
| 204 |
+
"samples": 4,
|
| 205 |
+
"reproducible": true,
|
| 206 |
+
"status": "pass",
|
| 207 |
+
"sizes": [
|
| 208 |
+
{
|
| 209 |
+
"size": [
|
| 210 |
+
256,
|
| 211 |
+
256
|
| 212 |
+
],
|
| 213 |
+
"predict_masks_equal": 4,
|
| 214 |
+
"pixels": 262144,
|
| 215 |
+
"disagreeing_pixels": 0,
|
| 216 |
+
"unexplained_pixels": 0,
|
| 217 |
+
"max_abs_diff": 0.0001360177993774414,
|
| 218 |
+
"scale": 15.570399284362793,
|
| 219 |
+
"rel_diff": 8.735665469673782e-06,
|
| 220 |
+
"float32_vs_float64": {
|
| 221 |
+
"max_abs_diff": 0.00022131336211977937,
|
| 222 |
+
"scale": 15.570401208232763,
|
| 223 |
+
"rel_diff": 1.4213722508496515e-05,
|
| 224 |
+
"samples": 4,
|
| 225 |
+
"of": 4,
|
| 226 |
+
"complete": true
|
| 227 |
+
}
|
| 228 |
+
}
|
| 229 |
+
]
|
| 230 |
+
},
|
| 231 |
+
"tool": "tools/hf_onnx_export.py",
|
| 232 |
+
"stamped_at": "2026-09-07T16:34:44+00:00"
|
| 233 |
+
}
|
| 234 |
+
}
|