software-mansion/react-native-executorch-selfie-segmentation

🤗 Hugging Face 来源image-segmentationapache-2.05 MBother✓ 6 个校验和今天更新
一条命令提交

在你的模型文件夹旁边运行它。它会制作种子、将文件与 Hugging Face 比对,然后提交。你只需开始做种,并粘贴你账户中的密钥。它只读取你的文件,绝不修改。如果愿意,可以先阅读脚本。

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo software-mansion/react-native-executorch-selfie-segmentation ./model-folder
需要做种者 →

selfie-segmentation

This repository hosts the selfie-segmentation models exported for the React Native ExecuTorch library as ExecuTorch .pte programs, ready to run on device.

Upstream model: selfie segmentation

Variants

Path Backend Precision
coreml/selfie_segmentation_coreml_fp16.pte coreml fp16
coreml/selfie_segmentation_landscape_coreml_fp16.pte coreml fp16
xnnpack/selfie_segmentation_xnnpack_fp32.pte xnnpack fp32
xnnpack/selfie_segmentation_landscape_xnnpack_fp32.pte xnnpack fp32

Unshipped backends

A backend directory carrying a NOTES.md and no .pte was exported and not published. Its note records what went wrong.

Repository structure

config.json                                             41 B
coreml/config.json                                      1.4 kB
coreml/selfie_segmentation_coreml_fp16.pte              601 kB
coreml/selfie_segmentation_landscape_coreml_fp16.pte    601 kB
mlx/NOTES.md                                            2.4 kB
xnnpack/config.json                                     1.4 kB
xnnpack/selfie_segmentation_landscape_xnnpack_fp32.pte  463 kB
xnnpack/selfie_segmentation_xnnpack_fp32.pte            486 kB

Compatibility

These files are published for the ExecuTorch v1.4.1 runtime. ExecuTorch gives no forward compatibility guarantee, so an older runtime may fail to load them.

To use them in React Native ExecuTorch, pass the model constant shipped in the library's model registry to the corresponding task pipeline. See the documentation.

To load these files in your own ExecuTorch runtime, read the compatibility note first.