Instructions to use rigsarthur/modnet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use rigsarthur/modnet with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-segmentation', 'rigsarthur/modnet');
Download onnx/model_quantized.onnx from rigsarthur/modnet: direct link, hf CLI and curl.
- Browser
- Download file 6.63 MB
-
https://huggingface.co/rigsarthur/modnet/resolve/main/onnx/model_quantized.onnx
- Command line
-
hf download hf://rigsarthur/modnet/onnx/model_quantized.onnx
-
curl -L -o model_quantized.onnx https://huggingface.co/rigsarthur/modnet/resolve/main/onnx/model_quantized.onnx
6.63 MB
- Xet hash:
- 849cc3046229f8ce3b8c85746d235cd93fe2bc64e25fbdbbd02b727083fb2b05
- Size of remote file:
- 6.63 MB
- SHA256:
- 92e49898c3e05a6d7a944fc67a8cb87c4aad754ffb6ebd949528c7d1105fee3a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.