Duplicated from Xenova/modnet
How to use square-zero-labs/modnet with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-segmentation', 'square-zero-labs/modnet');
The community tab is the place to discuss and collaborate with the HF community!