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

🤗 Hugging Face sourceimage-segmentationapache-2.05 MBother✓ 6 checksumsupdated today
Submit in one command

Run it next to your model folder. It makes the torrent, checks your files against Hugging Face, and submits it. You just start seeding and paste your key from your account. It only reads your files and never changes them. Read the script first if you like.

curl -fsSL https://pirateface.co/package.sh | bash -s -- --repo software-mansion/react-native-executorch-selfie-segmentation ./model-folder
Needs a seeder →

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.