BiRefNet_lite β Core ML (KICK)
Core ML (ML Program, macOS 14+, fp16 compute) conversion of ZhengPeng7/BiRefNet_lite used by KICK Studio on Mac for person cut-out. Same model and same pre/post-processing as onnx-community/BiRefNet_lite-ONNX.
birefnet-lite-1024-fp16-kick-coreml.zip contains birefnet.mlpackage:
- input
input: float32 1Γ3Γ1024Γ1024, RGB / 255, normalized with ImageNet mean (0.485, 0.456, 0.406) and std (0.229, 0.224, 0.225) - output
logits: float32 1Γ1Γ1024Γ1024, final prediction logits; alpha = sigmoid(logits)
torchvision.ops.deform_conv2d (decoder ASPPDeformable) was rewritten with grid_sample (bilinear, zero padding,
align_corners=True, with modulation mask) before tracing; it matches the original PyTorch model numerically.
License and credit
BiRefNet by Peng Zheng et al. β https://github.com/ZhengPeng7/BiRefNet β MIT License (see LICENSE). This conversion is
distributed under the same MIT License.
Model tree for kickvn/BiRefNet_lite-KICK-CoreML
Base model
ZhengPeng7/BiRefNet_lite