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, KvasirSEG.onnx, KvasirSEG.onnx.config.json, KvasirSEG.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 +172 -0
- BUSI.onnx +3 -0
- BUSI.onnx.config.json +30 -0
- BUSI.onnx.provenance.json +172 -0
- COVIDQUEx.onnx +3 -0
- COVIDQUEx.onnx.config.json +30 -0
- COVIDQUEx.onnx.provenance.json +172 -0
- DRIVE.onnx +3 -0
- DRIVE.onnx.config.json +30 -0
- DRIVE.onnx.provenance.json +172 -0
- ISIC2018.onnx +3 -0
- ISIC2018.onnx.config.json +30 -0
- ISIC2018.onnx.provenance.json +172 -0
- KvasirSEG.onnx +3 -0
- KvasirSEG.onnx.config.json +30 -0
- KvasirSEG.onnx.provenance.json +172 -0
- PROMISE12.onnx +3 -0
- PROMISE12.onnx.config.json +30 -0
- PROMISE12.onnx.provenance.json +172 -0
- UWaterlooSkinCancer.onnx +3 -0
- UWaterlooSkinCancer.onnx.config.json +30 -0
- UWaterlooSkinCancer.onnx.provenance.json +172 -0
ACDC.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ff449b51babdc331e33dae311efbfa6cad42dd15dcf9efd76440a8df69e3089c
|
| 3 |
+
size 11198925
|
ACDC.onnx.config.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/model-sidecar/v1",
|
| 3 |
+
"model": {
|
| 4 |
+
"graph": "onnx",
|
| 5 |
+
"args": {
|
| 6 |
+
"input_channel": 3,
|
| 7 |
+
"num_classes": 4
|
| 8 |
+
}
|
| 9 |
+
},
|
| 10 |
+
"inference": {
|
| 11 |
+
"size": [
|
| 12 |
+
256,
|
| 13 |
+
256
|
| 14 |
+
]
|
| 15 |
+
}
|
| 16 |
+
}
|
ACDC.onnx.provenance.json
ADDED
|
@@ -0,0 +1,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "ACDC.pth",
|
| 5 |
+
"sha256": "92e4b00ef194de9ce83725571a732defa422196030468f19cbc681d28f7d53f1",
|
| 6 |
+
"reference": "ACDC.pth",
|
| 7 |
+
"model": "CA_Net",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "ACDC.pth.config.json",
|
| 12 |
+
"sha256": "4a5564f88b020aa405ef74495d9cd77fe28217eacbe88cf5106bea22854c3f9b"
|
| 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": 1.1520824847122135e-05,
|
| 26 |
+
"scale": 9.18034493077713,
|
| 27 |
+
"rel_diff": 1.2549446599221497e-06,
|
| 28 |
+
"kernel_noise_rel": 1.2595713136035468e-06
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"graph": {
|
| 32 |
+
"kind": "onnx",
|
| 33 |
+
"file": "ACDC.onnx",
|
| 34 |
+
"sha256": "ff449b51babdc331e33dae311efbfa6cad42dd15dcf9efd76440a8df69e3089c",
|
| 35 |
+
"bytes": 11198925,
|
| 36 |
+
"opset": 17,
|
| 37 |
+
"dynamic": false,
|
| 38 |
+
"reason": "fixed_size",
|
| 39 |
+
"input": "image",
|
| 40 |
+
"output": "logits",
|
| 41 |
+
"input_channel": 3,
|
| 42 |
+
"num_classes": 4,
|
| 43 |
+
"size": [
|
| 44 |
+
256,
|
| 45 |
+
256
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
"exporter": {
|
| 49 |
+
"api": "torch.onnx.export",
|
| 50 |
+
"name": "torchscript",
|
| 51 |
+
"dynamo": false,
|
| 52 |
+
"registered_symbolics": {
|
| 53 |
+
"aten::_convolution_mode": 17,
|
| 54 |
+
"aten::add": 17,
|
| 55 |
+
"aten::roll": 17,
|
| 56 |
+
"aten::rsub": 17,
|
| 57 |
+
"aten::sub": 17,
|
| 58 |
+
"aten::upsample_nearest2d": 17
|
| 59 |
+
},
|
| 60 |
+
"producer": "pytorch 2.13.0",
|
| 61 |
+
"torch": "2.13.0+cpu",
|
| 62 |
+
"onnx": "1.22.0",
|
| 63 |
+
"onnxruntime": "1.29.0"
|
| 64 |
+
},
|
| 65 |
+
"verification_input": {
|
| 66 |
+
"kind": "smooth_random_field",
|
| 67 |
+
"distribution": "normal",
|
| 68 |
+
"coarse_factor": 16,
|
| 69 |
+
"min_coarse": 4,
|
| 70 |
+
"interpolation": "bilinear",
|
| 71 |
+
"align_corners": false,
|
| 72 |
+
"seed": 0,
|
| 73 |
+
"pixel_domain": null,
|
| 74 |
+
"pixel_mean": null,
|
| 75 |
+
"pixel_std": null,
|
| 76 |
+
"through_contract": false
|
| 77 |
+
},
|
| 78 |
+
"attempts": [
|
| 79 |
+
{
|
| 80 |
+
"mode": "dynamic",
|
| 81 |
+
"exporter": "torchscript",
|
| 82 |
+
"outcome": "fell_back",
|
| 83 |
+
"reason": "fixed_size",
|
| 84 |
+
"error": {
|
| 85 |
+
"kind": "export",
|
| 86 |
+
"text": "torchscript: SymbolicValueError: Failed to export a node '%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ' (in list node %975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) because it is not constant. Please try to make things (e.g. kernel sizes) static if possible. [Caused by the value '975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate )' (type 'List[int]') in the TorchScript graph. The containing node has kind 'prim::ListConstruct'.] Inputs: #0: 970 defined in (%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') #1: 974 defined in (%974 : Long(device=cpu) = onnx::Gather[axis=0](%971, %973), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') Outputs: #0: 975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) (type 'List[int]')"
|
| 87 |
+
},
|
| 88 |
+
"verification": null
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"mode": "static",
|
| 92 |
+
"exporter": "torchscript",
|
| 93 |
+
"outcome": "kept",
|
| 94 |
+
"reason": "fixed_size",
|
| 95 |
+
"error": null,
|
| 96 |
+
"verification": [
|
| 97 |
+
{
|
| 98 |
+
"shape": [
|
| 99 |
+
1,
|
| 100 |
+
3,
|
| 101 |
+
256,
|
| 102 |
+
256
|
| 103 |
+
],
|
| 104 |
+
"torch": "ok",
|
| 105 |
+
"graph": "ok",
|
| 106 |
+
"max_abs_diff": 1.6689300537109375e-05,
|
| 107 |
+
"scale": 9.180346488952637,
|
| 108 |
+
"rel_diff": 1.8179379783968717e-06
|
| 109 |
+
}
|
| 110 |
+
]
|
| 111 |
+
}
|
| 112 |
+
],
|
| 113 |
+
"verification": [
|
| 114 |
+
{
|
| 115 |
+
"shape": [
|
| 116 |
+
1,
|
| 117 |
+
3,
|
| 118 |
+
256,
|
| 119 |
+
256
|
| 120 |
+
],
|
| 121 |
+
"torch": "ok",
|
| 122 |
+
"graph": "ok",
|
| 123 |
+
"max_abs_diff": 1.6689300537109375e-05,
|
| 124 |
+
"scale": 9.180346488952637,
|
| 125 |
+
"rel_diff": 1.8179379783968717e-06
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"exported_at": "2026-09-09T22:56:20+00:00",
|
| 129 |
+
"release": {
|
| 130 |
+
"repo": "MedOtter/CA_Net",
|
| 131 |
+
"revision": "5de3347a927380613da4a263073f25235ca8a27c",
|
| 132 |
+
"pth_file": "ACDC.pth",
|
| 133 |
+
"pth_sha256": "92e4b00ef194de9ce83725571a732defa422196030468f19cbc681d28f7d53f1",
|
| 134 |
+
"sidecar_sha256": "9867fc324419b3f483f4f5b56708a3271f503d4c68bf7fdb4c768189884baefb",
|
| 135 |
+
"sidecar_source": "hub",
|
| 136 |
+
"group": "checkout_only",
|
| 137 |
+
"reason": "fixed_size",
|
| 138 |
+
"dynamic_attempt": null,
|
| 139 |
+
"reference_check": {
|
| 140 |
+
"dataset": "ACDC",
|
| 141 |
+
"split": "test",
|
| 142 |
+
"samples": 4,
|
| 143 |
+
"reproducible": true,
|
| 144 |
+
"status": "pass",
|
| 145 |
+
"sizes": [
|
| 146 |
+
{
|
| 147 |
+
"size": [
|
| 148 |
+
256,
|
| 149 |
+
256
|
| 150 |
+
],
|
| 151 |
+
"predict_masks_equal": 3,
|
| 152 |
+
"pixels": 262144,
|
| 153 |
+
"disagreeing_pixels": 1,
|
| 154 |
+
"unexplained_pixels": 0,
|
| 155 |
+
"max_abs_diff": 0.05713653564453125,
|
| 156 |
+
"scale": 218.21942138671875,
|
| 157 |
+
"rel_diff": 0.00026183066237388844,
|
| 158 |
+
"float32_vs_float64": {
|
| 159 |
+
"max_abs_diff": 0.011914450791749687,
|
| 160 |
+
"scale": 218.2197140903859,
|
| 161 |
+
"rel_diff": 5.4598416286141586e-05,
|
| 162 |
+
"samples": 4,
|
| 163 |
+
"of": 4,
|
| 164 |
+
"complete": true
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
]
|
| 168 |
+
},
|
| 169 |
+
"tool": "tools/hf_onnx_export.py",
|
| 170 |
+
"stamped_at": "2026-09-09T22:56:29+00:00"
|
| 171 |
+
}
|
| 172 |
+
}
|
BUSI.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af0883d1e20788b5b77af7743a2f0cfb6410614937dd1e7141b8e3483e40683d
|
| 3 |
+
size 11198865
|
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,172 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "BUSI.pth",
|
| 5 |
+
"sha256": "8ac7b542a3a947f0979ae939a099cf3497ee57e1e334a37344d6ec68c4ab9dba",
|
| 6 |
+
"reference": "BUSI.pth",
|
| 7 |
+
"model": "CA_Net",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "BUSI.pth.config.json",
|
| 12 |
+
"sha256": "7839ff007b82810f99314c7b4d2c55229bb36f0e3b107d4cb4d0e5995ca0d1b7"
|
| 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.00011507713090308513,
|
| 26 |
+
"scale": 13.0093060535342,
|
| 27 |
+
"rel_diff": 8.845754756597679e-06,
|
| 28 |
+
"kernel_noise_rel": 6.286083585925155e-06
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"graph": {
|
| 32 |
+
"kind": "onnx",
|
| 33 |
+
"file": "BUSI.onnx",
|
| 34 |
+
"sha256": "af0883d1e20788b5b77af7743a2f0cfb6410614937dd1e7141b8e3483e40683d",
|
| 35 |
+
"bytes": 11198865,
|
| 36 |
+
"opset": 17,
|
| 37 |
+
"dynamic": false,
|
| 38 |
+
"reason": "fixed_size",
|
| 39 |
+
"input": "image",
|
| 40 |
+
"output": "logits",
|
| 41 |
+
"input_channel": 3,
|
| 42 |
+
"num_classes": 1,
|
| 43 |
+
"size": [
|
| 44 |
+
256,
|
| 45 |
+
256
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
"exporter": {
|
| 49 |
+
"api": "torch.onnx.export",
|
| 50 |
+
"name": "torchscript",
|
| 51 |
+
"dynamo": false,
|
| 52 |
+
"registered_symbolics": {
|
| 53 |
+
"aten::_convolution_mode": 17,
|
| 54 |
+
"aten::add": 17,
|
| 55 |
+
"aten::roll": 17,
|
| 56 |
+
"aten::rsub": 17,
|
| 57 |
+
"aten::sub": 17,
|
| 58 |
+
"aten::upsample_nearest2d": 17
|
| 59 |
+
},
|
| 60 |
+
"producer": "pytorch 2.13.0",
|
| 61 |
+
"torch": "2.13.0+cpu",
|
| 62 |
+
"onnx": "1.22.0",
|
| 63 |
+
"onnxruntime": "1.29.0"
|
| 64 |
+
},
|
| 65 |
+
"verification_input": {
|
| 66 |
+
"kind": "smooth_random_field",
|
| 67 |
+
"distribution": "normal",
|
| 68 |
+
"coarse_factor": 16,
|
| 69 |
+
"min_coarse": 4,
|
| 70 |
+
"interpolation": "bilinear",
|
| 71 |
+
"align_corners": false,
|
| 72 |
+
"seed": 0,
|
| 73 |
+
"pixel_domain": "uint8-range smooth field through the declaration's intensity contract",
|
| 74 |
+
"pixel_mean": 127.5,
|
| 75 |
+
"pixel_std": 45.0,
|
| 76 |
+
"through_contract": true
|
| 77 |
+
},
|
| 78 |
+
"attempts": [
|
| 79 |
+
{
|
| 80 |
+
"mode": "dynamic",
|
| 81 |
+
"exporter": "torchscript",
|
| 82 |
+
"outcome": "fell_back",
|
| 83 |
+
"reason": "fixed_size",
|
| 84 |
+
"error": {
|
| 85 |
+
"kind": "export",
|
| 86 |
+
"text": "torchscript: SymbolicValueError: Failed to export a node '%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ' (in list node %975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) because it is not constant. Please try to make things (e.g. kernel sizes) static if possible. [Caused by the value '975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate )' (type 'List[int]') in the TorchScript graph. The containing node has kind 'prim::ListConstruct'.] Inputs: #0: 970 defined in (%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') #1: 974 defined in (%974 : Long(device=cpu) = onnx::Gather[axis=0](%971, %973), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') Outputs: #0: 975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) (type 'List[int]')"
|
| 87 |
+
},
|
| 88 |
+
"verification": null
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"mode": "static",
|
| 92 |
+
"exporter": "torchscript",
|
| 93 |
+
"outcome": "kept",
|
| 94 |
+
"reason": "fixed_size",
|
| 95 |
+
"error": null,
|
| 96 |
+
"verification": [
|
| 97 |
+
{
|
| 98 |
+
"shape": [
|
| 99 |
+
1,
|
| 100 |
+
3,
|
| 101 |
+
256,
|
| 102 |
+
256
|
| 103 |
+
],
|
| 104 |
+
"torch": "ok",
|
| 105 |
+
"graph": "ok",
|
| 106 |
+
"max_abs_diff": 0.00011727213859558105,
|
| 107 |
+
"scale": 13.00930404663086,
|
| 108 |
+
"rel_diff": 9.014482110282611e-06
|
| 109 |
+
}
|
| 110 |
+
]
|
| 111 |
+
}
|
| 112 |
+
],
|
| 113 |
+
"verification": [
|
| 114 |
+
{
|
| 115 |
+
"shape": [
|
| 116 |
+
1,
|
| 117 |
+
3,
|
| 118 |
+
256,
|
| 119 |
+
256
|
| 120 |
+
],
|
| 121 |
+
"torch": "ok",
|
| 122 |
+
"graph": "ok",
|
| 123 |
+
"max_abs_diff": 0.00011727213859558105,
|
| 124 |
+
"scale": 13.00930404663086,
|
| 125 |
+
"rel_diff": 9.014482110282611e-06
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"exported_at": "2026-09-09T22:56:22+00:00",
|
| 129 |
+
"release": {
|
| 130 |
+
"repo": "MedOtter/CA_Net",
|
| 131 |
+
"revision": "5de3347a927380613da4a263073f25235ca8a27c",
|
| 132 |
+
"pth_file": "BUSI.pth",
|
| 133 |
+
"pth_sha256": "8ac7b542a3a947f0979ae939a099cf3497ee57e1e334a37344d6ec68c4ab9dba",
|
| 134 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 135 |
+
"sidecar_source": "hub",
|
| 136 |
+
"group": "checkout_only",
|
| 137 |
+
"reason": "fixed_size",
|
| 138 |
+
"dynamic_attempt": null,
|
| 139 |
+
"reference_check": {
|
| 140 |
+
"dataset": "BUSI",
|
| 141 |
+
"split": "train",
|
| 142 |
+
"samples": 4,
|
| 143 |
+
"reproducible": true,
|
| 144 |
+
"status": "pass",
|
| 145 |
+
"sizes": [
|
| 146 |
+
{
|
| 147 |
+
"size": [
|
| 148 |
+
256,
|
| 149 |
+
256
|
| 150 |
+
],
|
| 151 |
+
"predict_masks_equal": 4,
|
| 152 |
+
"pixels": 262144,
|
| 153 |
+
"disagreeing_pixels": 0,
|
| 154 |
+
"unexplained_pixels": 0,
|
| 155 |
+
"max_abs_diff": 6.437301635742188e-05,
|
| 156 |
+
"scale": 29.821025848388672,
|
| 157 |
+
"rel_diff": 2.158645268767646e-06,
|
| 158 |
+
"float32_vs_float64": {
|
| 159 |
+
"max_abs_diff": 6.535496266324436e-05,
|
| 160 |
+
"scale": 29.821044701149518,
|
| 161 |
+
"rel_diff": 2.191571868732188e-06,
|
| 162 |
+
"samples": 4,
|
| 163 |
+
"of": 4,
|
| 164 |
+
"complete": true
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
]
|
| 168 |
+
},
|
| 169 |
+
"tool": "tools/hf_onnx_export.py",
|
| 170 |
+
"stamped_at": "2026-09-09T22:56:29+00:00"
|
| 171 |
+
}
|
| 172 |
+
}
|
COVIDQUEx.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69628ca0882ef3974f765142421157c1bc46f3aeb0c23bc6286716ed4303e598
|
| 3 |
+
size 11198865
|
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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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "COVIDQUEx.pth",
|
| 5 |
+
"sha256": "fba03a48a991cf693d70b0077663f5e52b71b5e1ae34923bc57d9f6a168c27a5",
|
| 6 |
+
"reference": "COVIDQUEx.pth",
|
| 7 |
+
"model": "CA_Net",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "COVIDQUEx.pth.config.json",
|
| 12 |
+
"sha256": "7839ff007b82810f99314c7b4d2c55229bb36f0e3b107d4cb4d0e5995ca0d1b7"
|
| 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.0001166334446105477,
|
| 26 |
+
"scale": 12.020704377222652,
|
| 27 |
+
"rel_diff": 9.702712998378845e-06,
|
| 28 |
+
"kernel_noise_rel": 9.480649241206915e-06
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"graph": {
|
| 32 |
+
"kind": "onnx",
|
| 33 |
+
"file": "COVIDQUEx.onnx",
|
| 34 |
+
"sha256": "69628ca0882ef3974f765142421157c1bc46f3aeb0c23bc6286716ed4303e598",
|
| 35 |
+
"bytes": 11198865,
|
| 36 |
+
"opset": 17,
|
| 37 |
+
"dynamic": false,
|
| 38 |
+
"reason": "fixed_size",
|
| 39 |
+
"input": "image",
|
| 40 |
+
"output": "logits",
|
| 41 |
+
"input_channel": 3,
|
| 42 |
+
"num_classes": 1,
|
| 43 |
+
"size": [
|
| 44 |
+
256,
|
| 45 |
+
256
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
"exporter": {
|
| 49 |
+
"api": "torch.onnx.export",
|
| 50 |
+
"name": "torchscript",
|
| 51 |
+
"dynamo": false,
|
| 52 |
+
"registered_symbolics": {
|
| 53 |
+
"aten::_convolution_mode": 17,
|
| 54 |
+
"aten::add": 17,
|
| 55 |
+
"aten::roll": 17,
|
| 56 |
+
"aten::rsub": 17,
|
| 57 |
+
"aten::sub": 17,
|
| 58 |
+
"aten::upsample_nearest2d": 17
|
| 59 |
+
},
|
| 60 |
+
"producer": "pytorch 2.13.0",
|
| 61 |
+
"torch": "2.13.0+cpu",
|
| 62 |
+
"onnx": "1.22.0",
|
| 63 |
+
"onnxruntime": "1.29.0"
|
| 64 |
+
},
|
| 65 |
+
"verification_input": {
|
| 66 |
+
"kind": "smooth_random_field",
|
| 67 |
+
"distribution": "normal",
|
| 68 |
+
"coarse_factor": 16,
|
| 69 |
+
"min_coarse": 4,
|
| 70 |
+
"interpolation": "bilinear",
|
| 71 |
+
"align_corners": false,
|
| 72 |
+
"seed": 0,
|
| 73 |
+
"pixel_domain": "uint8-range smooth field through the declaration's intensity contract",
|
| 74 |
+
"pixel_mean": 127.5,
|
| 75 |
+
"pixel_std": 45.0,
|
| 76 |
+
"through_contract": true
|
| 77 |
+
},
|
| 78 |
+
"attempts": [
|
| 79 |
+
{
|
| 80 |
+
"mode": "dynamic",
|
| 81 |
+
"exporter": "torchscript",
|
| 82 |
+
"outcome": "fell_back",
|
| 83 |
+
"reason": "fixed_size",
|
| 84 |
+
"error": {
|
| 85 |
+
"kind": "export",
|
| 86 |
+
"text": "torchscript: SymbolicValueError: Failed to export a node '%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ' (in list node %975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) because it is not constant. Please try to make things (e.g. kernel sizes) static if possible. [Caused by the value '975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate )' (type 'List[int]') in the TorchScript graph. The containing node has kind 'prim::ListConstruct'.] Inputs: #0: 970 defined in (%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') #1: 974 defined in (%974 : Long(device=cpu) = onnx::Gather[axis=0](%971, %973), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') Outputs: #0: 975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) (type 'List[int]')"
|
| 87 |
+
},
|
| 88 |
+
"verification": null
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"mode": "static",
|
| 92 |
+
"exporter": "torchscript",
|
| 93 |
+
"outcome": "kept",
|
| 94 |
+
"reason": "fixed_size",
|
| 95 |
+
"error": null,
|
| 96 |
+
"verification": [
|
| 97 |
+
{
|
| 98 |
+
"shape": [
|
| 99 |
+
1,
|
| 100 |
+
3,
|
| 101 |
+
256,
|
| 102 |
+
256
|
| 103 |
+
],
|
| 104 |
+
"torch": "ok",
|
| 105 |
+
"graph": "ok",
|
| 106 |
+
"max_abs_diff": 0.00011718273162841797,
|
| 107 |
+
"scale": 12.02070426940918,
|
| 108 |
+
"rel_diff": 9.748408163291211e-06
|
| 109 |
+
}
|
| 110 |
+
]
|
| 111 |
+
}
|
| 112 |
+
],
|
| 113 |
+
"verification": [
|
| 114 |
+
{
|
| 115 |
+
"shape": [
|
| 116 |
+
1,
|
| 117 |
+
3,
|
| 118 |
+
256,
|
| 119 |
+
256
|
| 120 |
+
],
|
| 121 |
+
"torch": "ok",
|
| 122 |
+
"graph": "ok",
|
| 123 |
+
"max_abs_diff": 0.00011718273162841797,
|
| 124 |
+
"scale": 12.02070426940918,
|
| 125 |
+
"rel_diff": 9.748408163291211e-06
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"exported_at": "2026-09-09T22:56:28+00:00",
|
| 129 |
+
"release": {
|
| 130 |
+
"repo": "MedOtter/CA_Net",
|
| 131 |
+
"revision": "5de3347a927380613da4a263073f25235ca8a27c",
|
| 132 |
+
"pth_file": "COVIDQUEx.pth",
|
| 133 |
+
"pth_sha256": "fba03a48a991cf693d70b0077663f5e52b71b5e1ae34923bc57d9f6a168c27a5",
|
| 134 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 135 |
+
"sidecar_source": "hub",
|
| 136 |
+
"group": "checkout_only",
|
| 137 |
+
"reason": "fixed_size",
|
| 138 |
+
"dynamic_attempt": null,
|
| 139 |
+
"reference_check": {
|
| 140 |
+
"dataset": "COVIDQUEx",
|
| 141 |
+
"split": "val",
|
| 142 |
+
"samples": 4,
|
| 143 |
+
"reproducible": true,
|
| 144 |
+
"status": "pass",
|
| 145 |
+
"sizes": [
|
| 146 |
+
{
|
| 147 |
+
"size": [
|
| 148 |
+
256,
|
| 149 |
+
256
|
| 150 |
+
],
|
| 151 |
+
"predict_masks_equal": 3,
|
| 152 |
+
"pixels": 262144,
|
| 153 |
+
"disagreeing_pixels": 1,
|
| 154 |
+
"unexplained_pixels": 0,
|
| 155 |
+
"max_abs_diff": 0.0001347064971923828,
|
| 156 |
+
"scale": 17.80588722229004,
|
| 157 |
+
"rel_diff": 7.565278579533653e-06,
|
| 158 |
+
"float32_vs_float64": {
|
| 159 |
+
"max_abs_diff": 0.00012917129006462247,
|
| 160 |
+
"scale": 17.805889853792152,
|
| 161 |
+
"rel_diff": 7.2544136308420796e-06,
|
| 162 |
+
"samples": 4,
|
| 163 |
+
"of": 4,
|
| 164 |
+
"complete": true
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
]
|
| 168 |
+
},
|
| 169 |
+
"tool": "tools/hf_onnx_export.py",
|
| 170 |
+
"stamped_at": "2026-09-09T22:56:41+00:00"
|
| 171 |
+
}
|
| 172 |
+
}
|
DRIVE.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:91ed2819a3d0241835dfa1f13a297d74b93cfe2a72c9794fb901b8471c0abecd
|
| 3 |
+
size 11198865
|
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 |
+
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "DRIVE.pth",
|
| 5 |
+
"sha256": "d70fabfecdaa09def1683a857ad058ab9b48939726d68e30e73bf3e4313759d6",
|
| 6 |
+
"reference": "DRIVE.pth",
|
| 7 |
+
"model": "CA_Net",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "DRIVE.pth.config.json",
|
| 12 |
+
"sha256": "7839ff007b82810f99314c7b4d2c55229bb36f0e3b107d4cb4d0e5995ca0d1b7"
|
| 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.0008008195213133895,
|
| 26 |
+
"scale": 9.55212690445485,
|
| 27 |
+
"rel_diff": 8.383677575932427e-05,
|
| 28 |
+
"kernel_noise_rel": 8.859473843848023e-05
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"graph": {
|
| 32 |
+
"kind": "onnx",
|
| 33 |
+
"file": "DRIVE.onnx",
|
| 34 |
+
"sha256": "91ed2819a3d0241835dfa1f13a297d74b93cfe2a72c9794fb901b8471c0abecd",
|
| 35 |
+
"bytes": 11198865,
|
| 36 |
+
"opset": 17,
|
| 37 |
+
"dynamic": false,
|
| 38 |
+
"reason": "fixed_size",
|
| 39 |
+
"input": "image",
|
| 40 |
+
"output": "logits",
|
| 41 |
+
"input_channel": 3,
|
| 42 |
+
"num_classes": 1,
|
| 43 |
+
"size": [
|
| 44 |
+
256,
|
| 45 |
+
256
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
"exporter": {
|
| 49 |
+
"api": "torch.onnx.export",
|
| 50 |
+
"name": "torchscript",
|
| 51 |
+
"dynamo": false,
|
| 52 |
+
"registered_symbolics": {
|
| 53 |
+
"aten::_convolution_mode": 17,
|
| 54 |
+
"aten::add": 17,
|
| 55 |
+
"aten::roll": 17,
|
| 56 |
+
"aten::rsub": 17,
|
| 57 |
+
"aten::sub": 17,
|
| 58 |
+
"aten::upsample_nearest2d": 17
|
| 59 |
+
},
|
| 60 |
+
"producer": "pytorch 2.13.0",
|
| 61 |
+
"torch": "2.13.0+cpu",
|
| 62 |
+
"onnx": "1.22.0",
|
| 63 |
+
"onnxruntime": "1.29.0"
|
| 64 |
+
},
|
| 65 |
+
"verification_input": {
|
| 66 |
+
"kind": "smooth_random_field",
|
| 67 |
+
"distribution": "normal",
|
| 68 |
+
"coarse_factor": 16,
|
| 69 |
+
"min_coarse": 4,
|
| 70 |
+
"interpolation": "bilinear",
|
| 71 |
+
"align_corners": false,
|
| 72 |
+
"seed": 0,
|
| 73 |
+
"pixel_domain": "uint8-range smooth field through the declaration's intensity contract",
|
| 74 |
+
"pixel_mean": 127.5,
|
| 75 |
+
"pixel_std": 45.0,
|
| 76 |
+
"through_contract": true
|
| 77 |
+
},
|
| 78 |
+
"attempts": [
|
| 79 |
+
{
|
| 80 |
+
"mode": "dynamic",
|
| 81 |
+
"exporter": "torchscript",
|
| 82 |
+
"outcome": "fell_back",
|
| 83 |
+
"reason": "fixed_size",
|
| 84 |
+
"error": {
|
| 85 |
+
"kind": "export",
|
| 86 |
+
"text": "torchscript: SymbolicValueError: Failed to export a node '%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ' (in list node %975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) because it is not constant. Please try to make things (e.g. kernel sizes) static if possible. [Caused by the value '975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate )' (type 'List[int]') in the TorchScript graph. The containing node has kind 'prim::ListConstruct'.] Inputs: #0: 970 defined in (%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') #1: 974 defined in (%974 : Long(device=cpu) = onnx::Gather[axis=0](%971, %973), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') Outputs: #0: 975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) (type 'List[int]')"
|
| 87 |
+
},
|
| 88 |
+
"verification": null
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"mode": "static",
|
| 92 |
+
"exporter": "torchscript",
|
| 93 |
+
"outcome": "kept",
|
| 94 |
+
"reason": "fixed_size",
|
| 95 |
+
"error": null,
|
| 96 |
+
"verification": [
|
| 97 |
+
{
|
| 98 |
+
"shape": [
|
| 99 |
+
1,
|
| 100 |
+
3,
|
| 101 |
+
256,
|
| 102 |
+
256
|
| 103 |
+
],
|
| 104 |
+
"torch": "ok",
|
| 105 |
+
"graph": "ok",
|
| 106 |
+
"max_abs_diff": 0.0008033514022827148,
|
| 107 |
+
"scale": 9.55211067199707,
|
| 108 |
+
"rel_diff": 8.410197807253392e-05
|
| 109 |
+
}
|
| 110 |
+
]
|
| 111 |
+
}
|
| 112 |
+
],
|
| 113 |
+
"verification": [
|
| 114 |
+
{
|
| 115 |
+
"shape": [
|
| 116 |
+
1,
|
| 117 |
+
3,
|
| 118 |
+
256,
|
| 119 |
+
256
|
| 120 |
+
],
|
| 121 |
+
"torch": "ok",
|
| 122 |
+
"graph": "ok",
|
| 123 |
+
"max_abs_diff": 0.0008033514022827148,
|
| 124 |
+
"scale": 9.55211067199707,
|
| 125 |
+
"rel_diff": 8.410197807253392e-05
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"exported_at": "2026-09-09T22:56:39+00:00",
|
| 129 |
+
"release": {
|
| 130 |
+
"repo": "MedOtter/CA_Net",
|
| 131 |
+
"revision": "5de3347a927380613da4a263073f25235ca8a27c",
|
| 132 |
+
"pth_file": "DRIVE.pth",
|
| 133 |
+
"pth_sha256": "d70fabfecdaa09def1683a857ad058ab9b48939726d68e30e73bf3e4313759d6",
|
| 134 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 135 |
+
"sidecar_source": "hub",
|
| 136 |
+
"group": "checkout_only",
|
| 137 |
+
"reason": "fixed_size",
|
| 138 |
+
"dynamic_attempt": null,
|
| 139 |
+
"reference_check": {
|
| 140 |
+
"dataset": "DRIVE",
|
| 141 |
+
"split": "val",
|
| 142 |
+
"samples": 4,
|
| 143 |
+
"reproducible": true,
|
| 144 |
+
"status": "pass",
|
| 145 |
+
"sizes": [
|
| 146 |
+
{
|
| 147 |
+
"size": [
|
| 148 |
+
256,
|
| 149 |
+
256
|
| 150 |
+
],
|
| 151 |
+
"predict_masks_equal": 4,
|
| 152 |
+
"pixels": 262144,
|
| 153 |
+
"disagreeing_pixels": 0,
|
| 154 |
+
"unexplained_pixels": 0,
|
| 155 |
+
"max_abs_diff": 0.0013089179992675781,
|
| 156 |
+
"scale": 26.072391510009766,
|
| 157 |
+
"rel_diff": 5.020321970713947e-05,
|
| 158 |
+
"float32_vs_float64": {
|
| 159 |
+
"max_abs_diff": 0.0012994830817971703,
|
| 160 |
+
"scale": 26.07240277067762,
|
| 161 |
+
"rel_diff": 4.98413243009055e-05,
|
| 162 |
+
"samples": 4,
|
| 163 |
+
"of": 4,
|
| 164 |
+
"complete": true
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
]
|
| 168 |
+
},
|
| 169 |
+
"tool": "tools/hf_onnx_export.py",
|
| 170 |
+
"stamped_at": "2026-09-09T22:56:48+00:00"
|
| 171 |
+
}
|
| 172 |
+
}
|
ISIC2018.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:150647674a7e3e1e121084ac861540a90a8e8dc660a5bbb756936c6f83491003
|
| 3 |
+
size 11198865
|
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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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "ISIC2018.pth",
|
| 5 |
+
"sha256": "abefaaacb6668fc9989fa3804c856ad00eee4b0897cdd0e3987eaa377ac209d9",
|
| 6 |
+
"reference": "ISIC2018.pth",
|
| 7 |
+
"model": "CA_Net",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "ISIC2018.pth.config.json",
|
| 12 |
+
"sha256": "7839ff007b82810f99314c7b4d2c55229bb36f0e3b107d4cb4d0e5995ca0d1b7"
|
| 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": 3.897812741193718e-05,
|
| 26 |
+
"scale": 11.99465234283835,
|
| 27 |
+
"rel_diff": 3.2496254412250525e-06,
|
| 28 |
+
"kernel_noise_rel": 3.5480588043538756e-06
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"graph": {
|
| 32 |
+
"kind": "onnx",
|
| 33 |
+
"file": "ISIC2018.onnx",
|
| 34 |
+
"sha256": "150647674a7e3e1e121084ac861540a90a8e8dc660a5bbb756936c6f83491003",
|
| 35 |
+
"bytes": 11198865,
|
| 36 |
+
"opset": 17,
|
| 37 |
+
"dynamic": false,
|
| 38 |
+
"reason": "fixed_size",
|
| 39 |
+
"input": "image",
|
| 40 |
+
"output": "logits",
|
| 41 |
+
"input_channel": 3,
|
| 42 |
+
"num_classes": 1,
|
| 43 |
+
"size": [
|
| 44 |
+
256,
|
| 45 |
+
256
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
"exporter": {
|
| 49 |
+
"api": "torch.onnx.export",
|
| 50 |
+
"name": "torchscript",
|
| 51 |
+
"dynamo": false,
|
| 52 |
+
"registered_symbolics": {
|
| 53 |
+
"aten::_convolution_mode": 17,
|
| 54 |
+
"aten::add": 17,
|
| 55 |
+
"aten::roll": 17,
|
| 56 |
+
"aten::rsub": 17,
|
| 57 |
+
"aten::sub": 17,
|
| 58 |
+
"aten::upsample_nearest2d": 17
|
| 59 |
+
},
|
| 60 |
+
"producer": "pytorch 2.13.0",
|
| 61 |
+
"torch": "2.13.0+cpu",
|
| 62 |
+
"onnx": "1.22.0",
|
| 63 |
+
"onnxruntime": "1.29.0"
|
| 64 |
+
},
|
| 65 |
+
"verification_input": {
|
| 66 |
+
"kind": "smooth_random_field",
|
| 67 |
+
"distribution": "normal",
|
| 68 |
+
"coarse_factor": 16,
|
| 69 |
+
"min_coarse": 4,
|
| 70 |
+
"interpolation": "bilinear",
|
| 71 |
+
"align_corners": false,
|
| 72 |
+
"seed": 0,
|
| 73 |
+
"pixel_domain": "uint8-range smooth field through the declaration's intensity contract",
|
| 74 |
+
"pixel_mean": 127.5,
|
| 75 |
+
"pixel_std": 45.0,
|
| 76 |
+
"through_contract": true
|
| 77 |
+
},
|
| 78 |
+
"attempts": [
|
| 79 |
+
{
|
| 80 |
+
"mode": "dynamic",
|
| 81 |
+
"exporter": "torchscript",
|
| 82 |
+
"outcome": "fell_back",
|
| 83 |
+
"reason": "fixed_size",
|
| 84 |
+
"error": {
|
| 85 |
+
"kind": "export",
|
| 86 |
+
"text": "torchscript: SymbolicValueError: Failed to export a node '%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ' (in list node %975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) because it is not constant. Please try to make things (e.g. kernel sizes) static if possible. [Caused by the value '975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate )' (type 'List[int]') in the TorchScript graph. The containing node has kind 'prim::ListConstruct'.] Inputs: #0: 970 defined in (%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') #1: 974 defined in (%974 : Long(device=cpu) = onnx::Gather[axis=0](%971, %973), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') Outputs: #0: 975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) (type 'List[int]')"
|
| 87 |
+
},
|
| 88 |
+
"verification": null
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"mode": "static",
|
| 92 |
+
"exporter": "torchscript",
|
| 93 |
+
"outcome": "kept",
|
| 94 |
+
"reason": "fixed_size",
|
| 95 |
+
"error": null,
|
| 96 |
+
"verification": [
|
| 97 |
+
{
|
| 98 |
+
"shape": [
|
| 99 |
+
1,
|
| 100 |
+
3,
|
| 101 |
+
256,
|
| 102 |
+
256
|
| 103 |
+
],
|
| 104 |
+
"torch": "ok",
|
| 105 |
+
"graph": "ok",
|
| 106 |
+
"max_abs_diff": 4.649162292480469e-05,
|
| 107 |
+
"scale": 11.994647979736328,
|
| 108 |
+
"rel_diff": 3.876030626605074e-06
|
| 109 |
+
}
|
| 110 |
+
]
|
| 111 |
+
}
|
| 112 |
+
],
|
| 113 |
+
"verification": [
|
| 114 |
+
{
|
| 115 |
+
"shape": [
|
| 116 |
+
1,
|
| 117 |
+
3,
|
| 118 |
+
256,
|
| 119 |
+
256
|
| 120 |
+
],
|
| 121 |
+
"torch": "ok",
|
| 122 |
+
"graph": "ok",
|
| 123 |
+
"max_abs_diff": 4.649162292480469e-05,
|
| 124 |
+
"scale": 11.994647979736328,
|
| 125 |
+
"rel_diff": 3.876030626605074e-06
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"exported_at": "2026-09-09T22:56:42+00:00",
|
| 129 |
+
"release": {
|
| 130 |
+
"repo": "MedOtter/CA_Net",
|
| 131 |
+
"revision": "5de3347a927380613da4a263073f25235ca8a27c",
|
| 132 |
+
"pth_file": "ISIC2018.pth",
|
| 133 |
+
"pth_sha256": "abefaaacb6668fc9989fa3804c856ad00eee4b0897cdd0e3987eaa377ac209d9",
|
| 134 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 135 |
+
"sidecar_source": "hub",
|
| 136 |
+
"group": "checkout_only",
|
| 137 |
+
"reason": "fixed_size",
|
| 138 |
+
"dynamic_attempt": null,
|
| 139 |
+
"reference_check": {
|
| 140 |
+
"dataset": "ISIC2018",
|
| 141 |
+
"split": "val",
|
| 142 |
+
"samples": 4,
|
| 143 |
+
"reproducible": true,
|
| 144 |
+
"status": "pass",
|
| 145 |
+
"sizes": [
|
| 146 |
+
{
|
| 147 |
+
"size": [
|
| 148 |
+
256,
|
| 149 |
+
256
|
| 150 |
+
],
|
| 151 |
+
"predict_masks_equal": 1,
|
| 152 |
+
"pixels": 262144,
|
| 153 |
+
"disagreeing_pixels": 0,
|
| 154 |
+
"unexplained_pixels": 0,
|
| 155 |
+
"max_abs_diff": 6.766617298126221e-05,
|
| 156 |
+
"scale": 15.100678443908691,
|
| 157 |
+
"rel_diff": 4.48100217699539e-06,
|
| 158 |
+
"float32_vs_float64": {
|
| 159 |
+
"max_abs_diff": 6.317879821837735e-05,
|
| 160 |
+
"scale": 15.100671844027561,
|
| 161 |
+
"rel_diff": 4.183840220550523e-06,
|
| 162 |
+
"samples": 4,
|
| 163 |
+
"of": 4,
|
| 164 |
+
"complete": true
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
]
|
| 168 |
+
},
|
| 169 |
+
"tool": "tools/hf_onnx_export.py",
|
| 170 |
+
"stamped_at": "2026-09-09T22:56:54+00:00"
|
| 171 |
+
}
|
| 172 |
+
}
|
KvasirSEG.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8c7b8a43743a3da455d460d47fce1ac00a4353116fdc01b17eb1084427893211
|
| 3 |
+
size 11198865
|
KvasirSEG.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 |
+
"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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "KvasirSEG.pth",
|
| 5 |
+
"sha256": "4d42fa7322221c0ac035c3ccca5e6b4562893c7ba5bafe8eaf09b43c1f88f3ac",
|
| 6 |
+
"reference": "KvasirSEG.pth",
|
| 7 |
+
"model": "CA_Net",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "KvasirSEG.pth.config.json",
|
| 12 |
+
"sha256": "c25604bc4f6f326689ea103958ca7116d36c644323b157f3c9d33a53fe418d02"
|
| 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": 9.970971594608358e-06,
|
| 26 |
+
"scale": 11.793336121143513,
|
| 27 |
+
"rel_diff": 8.454750625424849e-07,
|
| 28 |
+
"kernel_noise_rel": 7.985470083396611e-07
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"graph": {
|
| 32 |
+
"kind": "onnx",
|
| 33 |
+
"file": "KvasirSEG.onnx",
|
| 34 |
+
"sha256": "8c7b8a43743a3da455d460d47fce1ac00a4353116fdc01b17eb1084427893211",
|
| 35 |
+
"bytes": 11198865,
|
| 36 |
+
"opset": 17,
|
| 37 |
+
"dynamic": false,
|
| 38 |
+
"reason": "fixed_size",
|
| 39 |
+
"input": "image",
|
| 40 |
+
"output": "logits",
|
| 41 |
+
"input_channel": 3,
|
| 42 |
+
"num_classes": 1,
|
| 43 |
+
"size": [
|
| 44 |
+
256,
|
| 45 |
+
256
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
"exporter": {
|
| 49 |
+
"api": "torch.onnx.export",
|
| 50 |
+
"name": "torchscript",
|
| 51 |
+
"dynamo": false,
|
| 52 |
+
"registered_symbolics": {
|
| 53 |
+
"aten::_convolution_mode": 17,
|
| 54 |
+
"aten::add": 17,
|
| 55 |
+
"aten::roll": 17,
|
| 56 |
+
"aten::rsub": 17,
|
| 57 |
+
"aten::sub": 17,
|
| 58 |
+
"aten::upsample_nearest2d": 17
|
| 59 |
+
},
|
| 60 |
+
"producer": "pytorch 2.13.0",
|
| 61 |
+
"torch": "2.13.0+cpu",
|
| 62 |
+
"onnx": "1.22.0",
|
| 63 |
+
"onnxruntime": "1.29.0"
|
| 64 |
+
},
|
| 65 |
+
"verification_input": {
|
| 66 |
+
"kind": "smooth_random_field",
|
| 67 |
+
"distribution": "normal",
|
| 68 |
+
"coarse_factor": 16,
|
| 69 |
+
"min_coarse": 4,
|
| 70 |
+
"interpolation": "bilinear",
|
| 71 |
+
"align_corners": false,
|
| 72 |
+
"seed": 0,
|
| 73 |
+
"pixel_domain": "uint8-range smooth field through the declaration's intensity contract",
|
| 74 |
+
"pixel_mean": 127.5,
|
| 75 |
+
"pixel_std": 45.0,
|
| 76 |
+
"through_contract": true
|
| 77 |
+
},
|
| 78 |
+
"attempts": [
|
| 79 |
+
{
|
| 80 |
+
"mode": "dynamic",
|
| 81 |
+
"exporter": "torchscript",
|
| 82 |
+
"outcome": "fell_back",
|
| 83 |
+
"reason": "fixed_size",
|
| 84 |
+
"error": {
|
| 85 |
+
"kind": "export",
|
| 86 |
+
"text": "torchscript: SymbolicValueError: Failed to export a node '%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ' (in list node %975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) because it is not constant. Please try to make things (e.g. kernel sizes) static if possible. [Caused by the value '975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate )' (type 'List[int]') in the TorchScript graph. The containing node has kind 'prim::ListConstruct'.] Inputs: #0: 970 defined in (%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') #1: 974 defined in (%974 : Long(device=cpu) = onnx::Gather[axis=0](%971, %973), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') Outputs: #0: 975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) (type 'List[int]')"
|
| 87 |
+
},
|
| 88 |
+
"verification": null
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"mode": "static",
|
| 92 |
+
"exporter": "torchscript",
|
| 93 |
+
"outcome": "kept",
|
| 94 |
+
"reason": "fixed_size",
|
| 95 |
+
"error": null,
|
| 96 |
+
"verification": [
|
| 97 |
+
{
|
| 98 |
+
"shape": [
|
| 99 |
+
1,
|
| 100 |
+
3,
|
| 101 |
+
256,
|
| 102 |
+
256
|
| 103 |
+
],
|
| 104 |
+
"torch": "ok",
|
| 105 |
+
"graph": "ok",
|
| 106 |
+
"max_abs_diff": 1.0788440704345703e-05,
|
| 107 |
+
"scale": 11.793336868286133,
|
| 108 |
+
"rel_diff": 9.147911930979662e-07
|
| 109 |
+
}
|
| 110 |
+
]
|
| 111 |
+
}
|
| 112 |
+
],
|
| 113 |
+
"verification": [
|
| 114 |
+
{
|
| 115 |
+
"shape": [
|
| 116 |
+
1,
|
| 117 |
+
3,
|
| 118 |
+
256,
|
| 119 |
+
256
|
| 120 |
+
],
|
| 121 |
+
"torch": "ok",
|
| 122 |
+
"graph": "ok",
|
| 123 |
+
"max_abs_diff": 1.0788440704345703e-05,
|
| 124 |
+
"scale": 11.793336868286133,
|
| 125 |
+
"rel_diff": 9.147911930979662e-07
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"exported_at": "2026-09-09T22:56:42+00:00",
|
| 129 |
+
"release": {
|
| 130 |
+
"repo": "MedOtter/CA_Net",
|
| 131 |
+
"revision": "5de3347a927380613da4a263073f25235ca8a27c",
|
| 132 |
+
"pth_file": "KvasirSEG.pth",
|
| 133 |
+
"pth_sha256": "4d42fa7322221c0ac035c3ccca5e6b4562893c7ba5bafe8eaf09b43c1f88f3ac",
|
| 134 |
+
"sidecar_sha256": "1445f651ec927f1196af8ad861bf4ef54128f23d2812ee825908fa7d98195fa6",
|
| 135 |
+
"sidecar_source": "hub",
|
| 136 |
+
"group": "checkout_only",
|
| 137 |
+
"reason": "fixed_size",
|
| 138 |
+
"dynamic_attempt": null,
|
| 139 |
+
"reference_check": {
|
| 140 |
+
"dataset": "KvasirSEG",
|
| 141 |
+
"split": "val",
|
| 142 |
+
"samples": 4,
|
| 143 |
+
"reproducible": true,
|
| 144 |
+
"status": "pass",
|
| 145 |
+
"sizes": [
|
| 146 |
+
{
|
| 147 |
+
"size": [
|
| 148 |
+
256,
|
| 149 |
+
256
|
| 150 |
+
],
|
| 151 |
+
"predict_masks_equal": 4,
|
| 152 |
+
"pixels": 262144,
|
| 153 |
+
"disagreeing_pixels": 0,
|
| 154 |
+
"unexplained_pixels": 0,
|
| 155 |
+
"max_abs_diff": 1.1920928955078125e-05,
|
| 156 |
+
"scale": 17.352985382080078,
|
| 157 |
+
"rel_diff": 6.869670372331738e-07,
|
| 158 |
+
"float32_vs_float64": {
|
| 159 |
+
"max_abs_diff": 9.05786418714527e-06,
|
| 160 |
+
"scale": 17.35298546098322,
|
| 161 |
+
"rel_diff": 5.219772820942623e-07,
|
| 162 |
+
"samples": 4,
|
| 163 |
+
"of": 4,
|
| 164 |
+
"complete": true
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
]
|
| 168 |
+
},
|
| 169 |
+
"tool": "tools/hf_onnx_export.py",
|
| 170 |
+
"stamped_at": "2026-09-09T22:56:49+00:00"
|
| 171 |
+
}
|
| 172 |
+
}
|
PROMISE12.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e5593c6e678e1c739eac0ff96417041d88d66b130e01b59fe02b4527de024c3
|
| 3 |
+
size 11198865
|
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":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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "PROMISE12.pth",
|
| 5 |
+
"sha256": "0dc7a3463e85aaf4106fd0de72e38331c59ab32edf51eebc4d426b4df7df9fec",
|
| 6 |
+
"reference": "PROMISE12.pth",
|
| 7 |
+
"model": "CA_Net",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "PROMISE12.pth.config.json",
|
| 12 |
+
"sha256": "7839ff007b82810f99314c7b4d2c55229bb36f0e3b107d4cb4d0e5995ca0d1b7"
|
| 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": 2.3115161715381305e-05,
|
| 26 |
+
"scale": 16.05776094690794,
|
| 27 |
+
"rel_diff": 1.4395009236846514e-06,
|
| 28 |
+
"kernel_noise_rel": 1.3659754751575386e-06
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"graph": {
|
| 32 |
+
"kind": "onnx",
|
| 33 |
+
"file": "PROMISE12.onnx",
|
| 34 |
+
"sha256": "8e5593c6e678e1c739eac0ff96417041d88d66b130e01b59fe02b4527de024c3",
|
| 35 |
+
"bytes": 11198865,
|
| 36 |
+
"opset": 17,
|
| 37 |
+
"dynamic": false,
|
| 38 |
+
"reason": "fixed_size",
|
| 39 |
+
"input": "image",
|
| 40 |
+
"output": "logits",
|
| 41 |
+
"input_channel": 3,
|
| 42 |
+
"num_classes": 1,
|
| 43 |
+
"size": [
|
| 44 |
+
256,
|
| 45 |
+
256
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
"exporter": {
|
| 49 |
+
"api": "torch.onnx.export",
|
| 50 |
+
"name": "torchscript",
|
| 51 |
+
"dynamo": false,
|
| 52 |
+
"registered_symbolics": {
|
| 53 |
+
"aten::_convolution_mode": 17,
|
| 54 |
+
"aten::add": 17,
|
| 55 |
+
"aten::roll": 17,
|
| 56 |
+
"aten::rsub": 17,
|
| 57 |
+
"aten::sub": 17,
|
| 58 |
+
"aten::upsample_nearest2d": 17
|
| 59 |
+
},
|
| 60 |
+
"producer": "pytorch 2.13.0",
|
| 61 |
+
"torch": "2.13.0+cpu",
|
| 62 |
+
"onnx": "1.22.0",
|
| 63 |
+
"onnxruntime": "1.29.0"
|
| 64 |
+
},
|
| 65 |
+
"verification_input": {
|
| 66 |
+
"kind": "smooth_random_field",
|
| 67 |
+
"distribution": "normal",
|
| 68 |
+
"coarse_factor": 16,
|
| 69 |
+
"min_coarse": 4,
|
| 70 |
+
"interpolation": "bilinear",
|
| 71 |
+
"align_corners": false,
|
| 72 |
+
"seed": 0,
|
| 73 |
+
"pixel_domain": "uint8-range smooth field through the declaration's intensity contract",
|
| 74 |
+
"pixel_mean": 127.5,
|
| 75 |
+
"pixel_std": 45.0,
|
| 76 |
+
"through_contract": true
|
| 77 |
+
},
|
| 78 |
+
"attempts": [
|
| 79 |
+
{
|
| 80 |
+
"mode": "dynamic",
|
| 81 |
+
"exporter": "torchscript",
|
| 82 |
+
"outcome": "fell_back",
|
| 83 |
+
"reason": "fixed_size",
|
| 84 |
+
"error": {
|
| 85 |
+
"kind": "export",
|
| 86 |
+
"text": "torchscript: SymbolicValueError: Failed to export a node '%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ' (in list node %975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) because it is not constant. Please try to make things (e.g. kernel sizes) static if possible. [Caused by the value '975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate )' (type 'List[int]') in the TorchScript graph. The containing node has kind 'prim::ListConstruct'.] Inputs: #0: 970 defined in (%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') #1: 974 defined in (%974 : Long(device=cpu) = onnx::Gather[axis=0](%971, %973), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') Outputs: #0: 975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) (type 'List[int]')"
|
| 87 |
+
},
|
| 88 |
+
"verification": null
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"mode": "static",
|
| 92 |
+
"exporter": "torchscript",
|
| 93 |
+
"outcome": "kept",
|
| 94 |
+
"reason": "fixed_size",
|
| 95 |
+
"error": null,
|
| 96 |
+
"verification": [
|
| 97 |
+
{
|
| 98 |
+
"shape": [
|
| 99 |
+
1,
|
| 100 |
+
3,
|
| 101 |
+
256,
|
| 102 |
+
256
|
| 103 |
+
],
|
| 104 |
+
"torch": "ok",
|
| 105 |
+
"graph": "ok",
|
| 106 |
+
"max_abs_diff": 2.384185791015625e-05,
|
| 107 |
+
"scale": 16.057762145996094,
|
| 108 |
+
"rel_diff": 1.484755951258194e-06
|
| 109 |
+
}
|
| 110 |
+
]
|
| 111 |
+
}
|
| 112 |
+
],
|
| 113 |
+
"verification": [
|
| 114 |
+
{
|
| 115 |
+
"shape": [
|
| 116 |
+
1,
|
| 117 |
+
3,
|
| 118 |
+
256,
|
| 119 |
+
256
|
| 120 |
+
],
|
| 121 |
+
"torch": "ok",
|
| 122 |
+
"graph": "ok",
|
| 123 |
+
"max_abs_diff": 2.384185791015625e-05,
|
| 124 |
+
"scale": 16.057762145996094,
|
| 125 |
+
"rel_diff": 1.484755951258194e-06
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"exported_at": "2026-09-09T22:56:56+00:00",
|
| 129 |
+
"release": {
|
| 130 |
+
"repo": "MedOtter/CA_Net",
|
| 131 |
+
"revision": "5de3347a927380613da4a263073f25235ca8a27c",
|
| 132 |
+
"pth_file": "PROMISE12.pth",
|
| 133 |
+
"pth_sha256": "0dc7a3463e85aaf4106fd0de72e38331c59ab32edf51eebc4d426b4df7df9fec",
|
| 134 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 135 |
+
"sidecar_source": "hub",
|
| 136 |
+
"group": "checkout_only",
|
| 137 |
+
"reason": "fixed_size",
|
| 138 |
+
"dynamic_attempt": null,
|
| 139 |
+
"reference_check": {
|
| 140 |
+
"dataset": "PROMISE12",
|
| 141 |
+
"split": "val",
|
| 142 |
+
"samples": 4,
|
| 143 |
+
"reproducible": true,
|
| 144 |
+
"status": "pass",
|
| 145 |
+
"sizes": [
|
| 146 |
+
{
|
| 147 |
+
"size": [
|
| 148 |
+
256,
|
| 149 |
+
256
|
| 150 |
+
],
|
| 151 |
+
"predict_masks_equal": 4,
|
| 152 |
+
"pixels": 262144,
|
| 153 |
+
"disagreeing_pixels": 0,
|
| 154 |
+
"unexplained_pixels": 0,
|
| 155 |
+
"max_abs_diff": 0.0004978179931640625,
|
| 156 |
+
"scale": 20.38458251953125,
|
| 157 |
+
"rel_diff": 2.4421299415236195e-05,
|
| 158 |
+
"float32_vs_float64": {
|
| 159 |
+
"max_abs_diff": 0.00048709659292001106,
|
| 160 |
+
"scale": 20.384581479870036,
|
| 161 |
+
"rel_diff": 2.389534430231121e-05,
|
| 162 |
+
"samples": 4,
|
| 163 |
+
"of": 4,
|
| 164 |
+
"complete": true
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
]
|
| 168 |
+
},
|
| 169 |
+
"tool": "tools/hf_onnx_export.py",
|
| 170 |
+
"stamped_at": "2026-09-09T22:57:02+00:00"
|
| 171 |
+
}
|
| 172 |
+
}
|
UWaterlooSkinCancer.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d2fa0871eeb3c4796ddf1508adfc4e2c8cfa2a9bb09708d71423770b36d5c0ee
|
| 3 |
+
size 11198865
|
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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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "medotter/graph-provenance/v1",
|
| 3 |
+
"source": {
|
| 4 |
+
"file": "UWaterlooSkinCancer.pth",
|
| 5 |
+
"sha256": "e0f2ea8b8e9179e45230fc9f07ef842176718529433f661d858712603cf6b4d3",
|
| 6 |
+
"reference": "UWaterlooSkinCancer.pth",
|
| 7 |
+
"model": "CA_Net",
|
| 8 |
+
"declaration_source": "sidecar",
|
| 9 |
+
"declaration": [
|
| 10 |
+
{
|
| 11 |
+
"file": "UWaterlooSkinCancer.pth.config.json",
|
| 12 |
+
"sha256": "7839ff007b82810f99314c7b4d2c55229bb36f0e3b107d4cb4d0e5995ca0d1b7"
|
| 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": 8.837320125731907e-05,
|
| 26 |
+
"scale": 13.291331689965475,
|
| 27 |
+
"rel_diff": 6.64893505923398e-06,
|
| 28 |
+
"kernel_noise_rel": 6.672900926004919e-06
|
| 29 |
+
}
|
| 30 |
+
},
|
| 31 |
+
"graph": {
|
| 32 |
+
"kind": "onnx",
|
| 33 |
+
"file": "UWaterlooSkinCancer.onnx",
|
| 34 |
+
"sha256": "d2fa0871eeb3c4796ddf1508adfc4e2c8cfa2a9bb09708d71423770b36d5c0ee",
|
| 35 |
+
"bytes": 11198865,
|
| 36 |
+
"opset": 17,
|
| 37 |
+
"dynamic": false,
|
| 38 |
+
"reason": "fixed_size",
|
| 39 |
+
"input": "image",
|
| 40 |
+
"output": "logits",
|
| 41 |
+
"input_channel": 3,
|
| 42 |
+
"num_classes": 1,
|
| 43 |
+
"size": [
|
| 44 |
+
256,
|
| 45 |
+
256
|
| 46 |
+
]
|
| 47 |
+
},
|
| 48 |
+
"exporter": {
|
| 49 |
+
"api": "torch.onnx.export",
|
| 50 |
+
"name": "torchscript",
|
| 51 |
+
"dynamo": false,
|
| 52 |
+
"registered_symbolics": {
|
| 53 |
+
"aten::_convolution_mode": 17,
|
| 54 |
+
"aten::add": 17,
|
| 55 |
+
"aten::roll": 17,
|
| 56 |
+
"aten::rsub": 17,
|
| 57 |
+
"aten::sub": 17,
|
| 58 |
+
"aten::upsample_nearest2d": 17
|
| 59 |
+
},
|
| 60 |
+
"producer": "pytorch 2.13.0",
|
| 61 |
+
"torch": "2.13.0+cpu",
|
| 62 |
+
"onnx": "1.22.0",
|
| 63 |
+
"onnxruntime": "1.29.0"
|
| 64 |
+
},
|
| 65 |
+
"verification_input": {
|
| 66 |
+
"kind": "smooth_random_field",
|
| 67 |
+
"distribution": "normal",
|
| 68 |
+
"coarse_factor": 16,
|
| 69 |
+
"min_coarse": 4,
|
| 70 |
+
"interpolation": "bilinear",
|
| 71 |
+
"align_corners": false,
|
| 72 |
+
"seed": 0,
|
| 73 |
+
"pixel_domain": "uint8-range smooth field through the declaration's intensity contract",
|
| 74 |
+
"pixel_mean": 127.5,
|
| 75 |
+
"pixel_std": 45.0,
|
| 76 |
+
"through_contract": true
|
| 77 |
+
},
|
| 78 |
+
"attempts": [
|
| 79 |
+
{
|
| 80 |
+
"mode": "dynamic",
|
| 81 |
+
"exporter": "torchscript",
|
| 82 |
+
"outcome": "fell_back",
|
| 83 |
+
"reason": "fixed_size",
|
| 84 |
+
"error": {
|
| 85 |
+
"kind": "export",
|
| 86 |
+
"text": "torchscript: SymbolicValueError: Failed to export a node '%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ' (in list node %975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) because it is not constant. Please try to make things (e.g. kernel sizes) static if possible. [Caused by the value '975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate )' (type 'List[int]') in the TorchScript graph. The containing node has kind 'prim::ListConstruct'.] Inputs: #0: 970 defined in (%970 : Long(device=cpu) = onnx::Gather[axis=0](%967, %969), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') #1: 974 defined in (%974 : Long(device=cpu) = onnx::Gather[axis=0](%971, %973), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate # /home/csgrad/tianyulu/code/medotter/.worktrees/onnx-research/model_zoo/CNN/CA_Net/layers/scale_attention_layer.py:59:0 ) (type 'Tensor') Outputs: #0: 975 defined in (%975 : int[] = prim::ListConstruct(%970, %974), scope: __main__.scored_head.<locals>.ScoredHead::/model_zoo.CNN.CA_Net.CA_Net.Comprehensive_Atten_Unet::inner/model_zoo.CNN.CA_Net.layers.scale_attention_layer.scale_atten_convblock::scale_att/model_zoo.CNN.CA_Net.layers.scale_attention_layer.Scale_atten_block::cbam/model_zoo.CNN.CA_Net.layers.scale_attention_layer.ChannelGate::ChannelGate ) (type 'List[int]')"
|
| 87 |
+
},
|
| 88 |
+
"verification": null
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"mode": "static",
|
| 92 |
+
"exporter": "torchscript",
|
| 93 |
+
"outcome": "kept",
|
| 94 |
+
"reason": "fixed_size",
|
| 95 |
+
"error": null,
|
| 96 |
+
"verification": [
|
| 97 |
+
{
|
| 98 |
+
"shape": [
|
| 99 |
+
1,
|
| 100 |
+
3,
|
| 101 |
+
256,
|
| 102 |
+
256
|
| 103 |
+
],
|
| 104 |
+
"torch": "ok",
|
| 105 |
+
"graph": "ok",
|
| 106 |
+
"max_abs_diff": 8.940696716308594e-05,
|
| 107 |
+
"scale": 13.291327476501465,
|
| 108 |
+
"rel_diff": 6.72671464315012e-06
|
| 109 |
+
}
|
| 110 |
+
]
|
| 111 |
+
}
|
| 112 |
+
],
|
| 113 |
+
"verification": [
|
| 114 |
+
{
|
| 115 |
+
"shape": [
|
| 116 |
+
1,
|
| 117 |
+
3,
|
| 118 |
+
256,
|
| 119 |
+
256
|
| 120 |
+
],
|
| 121 |
+
"torch": "ok",
|
| 122 |
+
"graph": "ok",
|
| 123 |
+
"max_abs_diff": 8.940696716308594e-05,
|
| 124 |
+
"scale": 13.291327476501465,
|
| 125 |
+
"rel_diff": 6.72671464315012e-06
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"exported_at": "2026-09-09T22:57:02+00:00",
|
| 129 |
+
"release": {
|
| 130 |
+
"repo": "MedOtter/CA_Net",
|
| 131 |
+
"revision": "5de3347a927380613da4a263073f25235ca8a27c",
|
| 132 |
+
"pth_file": "UWaterlooSkinCancer.pth",
|
| 133 |
+
"pth_sha256": "e0f2ea8b8e9179e45230fc9f07ef842176718529433f661d858712603cf6b4d3",
|
| 134 |
+
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
|
| 135 |
+
"sidecar_source": "hub",
|
| 136 |
+
"group": "checkout_only",
|
| 137 |
+
"reason": "fixed_size",
|
| 138 |
+
"dynamic_attempt": null,
|
| 139 |
+
"reference_check": {
|
| 140 |
+
"dataset": "UWaterlooSkinCancer",
|
| 141 |
+
"split": "val",
|
| 142 |
+
"samples": 4,
|
| 143 |
+
"reproducible": true,
|
| 144 |
+
"status": "pass",
|
| 145 |
+
"sizes": [
|
| 146 |
+
{
|
| 147 |
+
"size": [
|
| 148 |
+
256,
|
| 149 |
+
256
|
| 150 |
+
],
|
| 151 |
+
"predict_masks_equal": 4,
|
| 152 |
+
"pixels": 262144,
|
| 153 |
+
"disagreeing_pixels": 0,
|
| 154 |
+
"unexplained_pixels": 0,
|
| 155 |
+
"max_abs_diff": 8.916854858398438e-05,
|
| 156 |
+
"scale": 16.03302574157715,
|
| 157 |
+
"rel_diff": 5.561554632370532e-06,
|
| 158 |
+
"float32_vs_float64": {
|
| 159 |
+
"max_abs_diff": 8.81420101279673e-05,
|
| 160 |
+
"scale": 16.033017749529705,
|
| 161 |
+
"rel_diff": 5.497530876902619e-06,
|
| 162 |
+
"samples": 4,
|
| 163 |
+
"of": 4,
|
| 164 |
+
"complete": true
|
| 165 |
+
}
|
| 166 |
+
}
|
| 167 |
+
]
|
| 168 |
+
},
|
| 169 |
+
"tool": "tools/hf_onnx_export.py",
|
| 170 |
+
"stamped_at": "2026-09-09T22:57:26+00:00"
|
| 171 |
+
}
|
| 172 |
+
}
|