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');
could you share your script of python and show how to convert pth to onnx?
3
#1 opened about 2 years ago
by
demo007