Instructions to use OS-Software/CartoonSegmentation-Base-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use OS-Software/CartoonSegmentation-Base-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-segmentation', 'OS-Software/CartoonSegmentation-Base-ONNX');
Upload config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
{
|
| 2 |
-
"model_type": "
|
| 3 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"model_type": "detr"
|
| 3 |
}
|