Instructions to use Xenova/swin-tiny-patch4-window7-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/swin-tiny-patch4-window7-224 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-classification', 'Xenova/swin-tiny-patch4-window7-224');
Commit History
-
Add/update the quantized ONNX model files and README.md for Transformers.js v3
Verified signature## Applied Quantizations ### ✅ Based on `model.onnx` *with* slimming ↳ ❌ `int8`: `model_int8.onnx` (added but JS-based E2E test failed) ``` /home/ubuntu/src/tjsmigration/node_modules/.pnpm/onnxruntime-node@1.21.0/node_modules/onnxruntime-node/dist/backend.js:25 __classPrivateFieldGet(this, _OnnxruntimeSessionHandler_inferenceSession, "f").loadModel(pathOrBuffer, options); ^ Error: Could not find an implementation for ConvInteger(10) node with name '/swin/embeddings/patch_embeddings/projection/Conv_quant' at new OnnxruntimeSessionHandler (/home/ubuntu/src/tjsmigration/node_modules/.pnpm/onnxruntime-node@1.21.0/node_modules/onnxruntime-node/dist/backend.js:25:92) at Immediate.<anonymous> (/home/ubuntu/src/tjsmigration/node_modules/.pnpm/onnxruntime-node@1.21.0/node_modules/onnxruntime-node/dist/backend.js:67:29) at process.processImmediate (node:internal/timers:485:21) N…6900916
-
[Automated] Update base model metadata
Verified signatureSet base model to "microsoft/swin-tiny-patch4-window7-224"12b05a2
-
Upload fp16 ONNX weights
Verified signatureb4ca835 -
Upload fp16 ONNX weights
Verified signature70667c4
-
Upload folder using huggingface_hub
6313759 -
Upload README.md with huggingface_hub
0fb6440 -
initial commit
d91b56e