Instructions to use onnx-community/sam3-tracker-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/sam3-tracker-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('mask-generation', 'onnx-community/sam3-tracker-ONNX');
Update config.json
Browse files- config.json +3 -0
config.json
CHANGED
|
@@ -179,5 +179,8 @@
|
|
| 179 |
1.0,
|
| 180 |
0.5
|
| 181 |
]
|
|
|
|
|
|
|
|
|
|
| 182 |
}
|
| 183 |
}
|
|
|
|
| 179 |
1.0,
|
| 180 |
0.5
|
| 181 |
]
|
| 182 |
+
},
|
| 183 |
+
"transformers.js_config": {
|
| 184 |
+
"use_external_data_format": true
|
| 185 |
}
|
| 186 |
}
|