metaclass commited on
Commit
9d9aaa9
·
verified ·
1 Parent(s): 4b393f0

Publish Core ML FP32 artifact

Browse files
README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ library_name: coreml
4
+ base_model: ZhengPeng7/BiRefNet_lite
5
+ tags:
6
+ - coreml
7
+ - apple
8
+ ---
9
+
10
+ # BiRefNet Lite 1024 for Core ML
11
+
12
+ Unofficial Core ML conversion and Apple-platform validation record for the
13
+ pinned upstream checkpoint. Source and reproducibility tooling are in
14
+ [miracle2k/birefnet-lite-coreml](https://github.com/miracle2k/birefnet-lite-coreml).
15
+
16
+ | Artifact | Apple target | Status |
17
+ | --- | --- | --- |
18
+ | `fp32/r1` | iOS 17+ | Stable; CPU-only execution is recommended |
19
+
20
+ Each artifact directory contains exactly one `.mlpackage.zip`, `manifest.json`,
21
+ and `SHA256SUMS`. Verify a downloaded directory with:
22
+
23
+ shasum -a 256 -c SHA256SUMS
24
+
25
+ Pin the exact artifact path and archive SHA. P8 is retained in the source
26
+ repository as experiment evidence only; no P8 package is published here.
artifacts.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "artifacts": [
4
+ {
5
+ "path": "fp32/r1",
6
+ "status": "stable",
7
+ "minimum_deployment_target": "iOS17",
8
+ "archive": "BiRefNetLite-1024-FP32-iOS17-r1.mlpackage.zip",
9
+ "sha256": "c6fa3bcedc42f304c754cfc597e9c72f097fa0e3b16866166fbd76e4f2d6e11d"
10
+ }
11
+ ]
12
+ }
fp32/r1/BiRefNetLite-1024-FP32-iOS17-r1.mlpackage.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c6fa3bcedc42f304c754cfc597e9c72f097fa0e3b16866166fbd76e4f2d6e11d
3
+ size 164852428
fp32/r1/SHA256SUMS ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ c6fa3bcedc42f304c754cfc597e9c72f097fa0e3b16866166fbd76e4f2d6e11d BiRefNetLite-1024-FP32-iOS17-r1.mlpackage.zip
2
+ 69b75fc8f86142912a18768711cde2cd37ace6608c63da5f11afebb35772bf05 manifest.json
fp32/r1/manifest.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "archive": {
3
+ "bytes": 164852428,
4
+ "filename": "BiRefNetLite-1024-FP32-iOS17-r1.mlpackage.zip",
5
+ "sha256": "c6fa3bcedc42f304c754cfc597e9c72f097fa0e3b16866166fbd76e4f2d6e11d"
6
+ },
7
+ "artifact": {
8
+ "id": "fp32-r1",
9
+ "recommended": true,
10
+ "revision": "r1",
11
+ "status": "stable",
12
+ "variant": "fp32"
13
+ },
14
+ "base_model": {
15
+ "license": "MIT",
16
+ "repository": "ZhengPeng7/BiRefNet_lite",
17
+ "revision": "7838f1c3472f827cd8ce13ab5ccc2ce48077360f",
18
+ "source_files_sha256": {
19
+ "BiRefNet_config.py": "e7b8c2a74f6cea6a59553d517f71d47f2c1d90e670a13416af17c25fe2f3dc52",
20
+ "birefnet.py": "af8568b5be406bf4d2a68a7ed6d72e40f73b37a1fb6fc9ebd71b5b3cbcd069c9",
21
+ "config.json": "9dc8614fccddd40c601aeadc69b9db6dd820598179b2a2198492e6ffa016a824",
22
+ "model.safetensors": "4417d89795250e698c3cb0ae8df15743810065f646f48a694fdfa7ca052d0815"
23
+ }
24
+ },
25
+ "contract": {
26
+ "external_preprocessing": {
27
+ "id": "rgb01-imagenet-normalized-nchw-v1",
28
+ "steps": [
29
+ "resize or letterbox the oriented RGB source to 1024x1024",
30
+ "scale RGB channel values to [0, 1]",
31
+ "normalize each channel with the listed ImageNet mean and standard deviation",
32
+ "arrange as Float32 NCHW with shape [1, 3, 1024, 1024]"
33
+ ]
34
+ },
35
+ "input": {
36
+ "dtype": "float32",
37
+ "imagenet_mean": [
38
+ 0.485,
39
+ 0.456,
40
+ 0.406
41
+ ],
42
+ "imagenet_standard_deviation": [
43
+ 0.229,
44
+ 0.224,
45
+ 0.225
46
+ ],
47
+ "layout": "NCHW",
48
+ "name": "image",
49
+ "shape": [
50
+ 1,
51
+ 3,
52
+ 1024,
53
+ 1024
54
+ ],
55
+ "type": "MLMultiArray"
56
+ },
57
+ "output": {
58
+ "activation": "logits; apply sigmoid for foreground probabilities",
59
+ "dtype": "float32",
60
+ "name": "mask_logits",
61
+ "shape": [
62
+ 1,
63
+ 1,
64
+ 1024,
65
+ 1024
66
+ ]
67
+ }
68
+ },
69
+ "license": "MIT",
70
+ "license_files_in_archive": [
71
+ "LICENSE",
72
+ "LICENSE-BIREFNET",
73
+ "LICENSE-COREML-BIREFNET",
74
+ "NOTICE"
75
+ ],
76
+ "package": {
77
+ "bytes": 187127482,
78
+ "filename": "BiRefNetLite-1024-FP32.mlpackage",
79
+ "minimum_deployment_target": "iOS17",
80
+ "model_graph_sha256": "8361b88d3983009225c4cbcea006c7d7db7b3bfc7778a2c832a5f9ff0caf22b7",
81
+ "precision": "fp32",
82
+ "quantization": "none",
83
+ "recommended_compute_units": "CPU_ONLY",
84
+ "source_tree_sha256": "1622f2b216b41bfa3f764057aa7f37054b193666191e8f4b17497e587fff1ec9",
85
+ "tree_sha256": "a93f903c25bf34794a04ce3fc7a13676a9cff0ad0cc1ab0a67314f4271335d6b",
86
+ "weights_sha256": "43c6ae668bfe95bccac0806e6b0b05456112ea635c84ec5a6f8519f6af07f74a"
87
+ },
88
+ "provenance": {
89
+ "conversion_source_commit": "6aafb3cae82dfa4660e485aab37a8187fdcd38f7",
90
+ "conversion_source_repository": "https://github.com/miracle2k/birefnet-lite-coreml",
91
+ "coremltools": "9.0",
92
+ "format": "mlprogram",
93
+ "python": ">=3.12,<3.13",
94
+ "torch": "2.5.1"
95
+ },
96
+ "schema_version": 1
97
+ }