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.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for kickvn/BiRefNet_lite-KICK-CoreML

Finetuned
(5)
this model