Views
No views yet
| ID | Label |
|---|---|
| 0 | exclude |
| 1 | include |
export_meta.json:1import { pipeline } from "@huggingface/transformers";
2
3const classifier = await pipeline(
4 "image-classification",
5 "keejkrej/smart-exclusion-resnet18",
6);
7const outputs = await classifier(image);
8// exclude when P(label=exclude) >= 0.51cp /path/to/runs/<timestamp>/model.onnx ./onnx/model.onnx
2cp /path/to/runs/<timestamp>/export_meta.json ./export_meta.json