Swin_umambaD / PROMISE12.onnx.provenance.json
tyluan's picture
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)
78da4d2 verified
Raw
History Blame Contribute Delete
5.8 kB
{
"schema": "medotter/graph-provenance/v1",
"source": {
"file": "PROMISE12.pth",
"sha256": "c7b312093915f2ea3ce5ae5dff0427ac018b1d7484a01792592f73434c10aa69",
"reference": "PROMISE12.pth",
"model": "Swin_umambaD",
"declaration_source": "sidecar",
"declaration": [
{
"file": "PROMISE12.pth.config.json",
"sha256": "37d57615c0ab66c6ae0656874f7600bddcb2e009fcbaa4941dd41b0d8200301e"
}
],
"float32_vs_float64": {
"shape": [
1,
3,
256,
256
],
"torch": "ok",
"float64": "ok",
"threads": 12,
"max_abs_diff": 6.7721969543299565e-06,
"scale": 10.872154592227279,
"rel_diff": 6.228937325055639e-07,
"kernel_noise_rel": 7.017372118699902e-07
}
},
"graph": {
"kind": "onnx",
"file": "PROMISE12.onnx",
"sha256": "749a24ac3bc53f4a0b756f982cab781db40ec6ce0d03dcccbc5cc67ee3f4929e",
"bytes": 113620444,
"opset": 17,
"dynamic": false,
"reason": "trace_specialised",
"input": "image",
"output": "logits",
"input_channel": 3,
"num_classes": 1,
"size": [
256,
256
]
},
"exporter": {
"api": "torch.onnx.export",
"name": "torchscript",
"dynamo": false,
"registered_symbolics": {
"aten::_convolution_mode": 17,
"aten::add": 17,
"aten::roll": 17,
"aten::rsub": 17,
"aten::sub": 17,
"aten::upsample_nearest2d": 17
},
"producer": "pytorch 2.13.0",
"torch": "2.13.0+cpu",
"onnx": "1.22.0",
"onnxruntime": "1.29.0"
},
"verification_input": {
"kind": "smooth_random_field",
"distribution": "normal",
"coarse_factor": 16,
"min_coarse": 4,
"interpolation": "bilinear",
"align_corners": false,
"seed": 0,
"pixel_domain": "uint8-range smooth field through the declaration's intensity contract",
"pixel_mean": 127.5,
"pixel_std": 45.0,
"through_contract": true
},
"attempts": [
{
"mode": "dynamic",
"exporter": "torchscript",
"outcome": "fell_back",
"reason": "trace_specialised",
"error": null,
"verification": [
{
"shape": [
1,
3,
256,
256
],
"torch": "ok",
"graph": "ok",
"max_abs_diff": 9.5367431640625e-06,
"scale": 10.872153282165527,
"rel_diff": 8.771715148374878e-07
},
{
"shape": [
1,
3,
320,
320
],
"torch": "ok",
"graph": "ok",
"max_abs_diff": 3.6045050621032715,
"scale": 10.871521949768066,
"rel_diff": 0.3315547794281159
},
{
"shape": [
1,
3,
224,
224
],
"torch": "ok",
"graph": "ok",
"max_abs_diff": 1.33514404296875e-05,
"scale": 10.8746337890625,
"rel_diff": 1.2277600044900938e-06
},
{
"shape": [
1,
3,
512,
512
],
"torch": "ok",
"graph": "ok",
"max_abs_diff": 9.248590469360352,
"scale": 10.866920471191406,
"rel_diff": 0.8510774044844347
},
{
"shape": [
2,
3,
256,
256
],
"torch": "ok",
"graph": "ok",
"max_abs_diff": 1.239776611328125e-05,
"scale": 10.872254371643066,
"rel_diff": 1.140312366643758e-06
}
]
},
{
"mode": "static",
"exporter": "torchscript",
"outcome": "kept",
"reason": "trace_specialised",
"error": null,
"verification": [
{
"shape": [
1,
3,
256,
256
],
"torch": "ok",
"graph": "ok",
"max_abs_diff": 9.5367431640625e-06,
"scale": 10.872153282165527,
"rel_diff": 8.771715148374878e-07
}
]
}
],
"verification": [
{
"shape": [
1,
3,
256,
256
],
"torch": "ok",
"graph": "ok",
"max_abs_diff": 9.5367431640625e-06,
"scale": 10.872153282165527,
"rel_diff": 8.771715148374878e-07
}
],
"exported_at": "2026-09-10T10:46:41+00:00",
"release": {
"repo": "MedOtter/Swin_umambaD",
"revision": "c9dad9526b44d1ef6825178c95277fe03db5990b",
"pth_file": "PROMISE12.pth",
"pth_sha256": "c7b312093915f2ea3ce5ae5dff0427ac018b1d7484a01792592f73434c10aa69",
"sidecar_sha256": "402e4863796b2530120ab02b07d1cb1732e28237a9d98398dec1bbc4a73d5594",
"sidecar_source": "existing",
"group": "checkout_only",
"reason": "trace_specialised",
"dynamic_attempt": null,
"reference_check": {
"dataset": "PROMISE12",
"split": "val",
"samples": 4,
"reproducible": true,
"status": "pass",
"sizes": [
{
"size": [
256,
256
],
"predict_masks_equal": 4,
"pixels": 262144,
"disagreeing_pixels": 0,
"unexplained_pixels": 0,
"max_abs_diff": 1.1444091796875e-05,
"scale": 10.872461318969727,
"rel_diff": 1.0525759955483053e-06,
"float32_vs_float64": {
"max_abs_diff": 8.151258253263904e-06,
"scale": 10.872460643712449,
"rel_diff": 7.497160505223611e-07,
"samples": 4,
"of": 4,
"complete": true
}
}
]
},
"tool": "tools/hf_onnx_export.py",
"stamped_at": "2026-09-10T10:51:57+00:00"
}
}