msluszniak commited on
Commit
e305cdd
·
verified ·
1 Parent(s): 95b2ceb

feat(coreml): publish fp16 only, drop the fp32 build

Browse files

fp16 was validated against fp32 across 13 real photos and 40 detections: visible landmarks agree to 1.04 px, boxes to 0.653 px and scores to 0.072, with no detection crossing the confidence threshold. It is also faster (144.0 ms against 165.1), lighter (263 MB peak against 389 MB) and half the download, so there is no longer a reason to ship both.

v0.9.0 retains its own copy of the fp32 file; released versions are unaffected.

From export-scripts MR !18.

preview/coreml/config.json CHANGED
@@ -51,50 +51,6 @@
51
  ]
52
  }
53
  }
54
- },
55
- {
56
- "file": "rfdetr_keypoint_preview_coreml_fp32.pte",
57
- "precision": "fp32",
58
- "quantized": false,
59
- "default": false,
60
- "methods": {
61
- "forward": {
62
- "inputs": [
63
- {
64
- "shape": [
65
- 1,
66
- 3,
67
- 576,
68
- 576
69
- ],
70
- "dtype": "float32"
71
- }
72
- ],
73
- "outputs": [
74
- {
75
- "shape": [
76
- 100,
77
- 4
78
- ],
79
- "dtype": "float32"
80
- },
81
- {
82
- "shape": [
83
- 100
84
- ],
85
- "dtype": "float32"
86
- },
87
- {
88
- "shape": [
89
- 100,
90
- 17,
91
- 3
92
- ],
93
- "dtype": "float32"
94
- }
95
- ]
96
- }
97
- }
98
  }
99
  ]
100
  }
 
51
  ]
52
  }
53
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  }
55
  ]
56
  }
preview/coreml/rfdetr_keypoint_preview_coreml_fp32.pte DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0455df2be527a464bba13876ab5cd1a2becbfb0e7a2d0dcc826c5e095bd6bffe
3
- size 147743446