Instructions to use Xenova/swin2SR-lightweight-x2-64 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use Xenova/swin2SR-lightweight-x2-64 with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('image-to-image', 'Xenova/swin2SR-lightweight-x2-64');
| { | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "image_processor_type": "Swin2SRImageProcessor", | |
| "pad_size": 8, | |
| "rescale_factor": 0.00392156862745098 | |
| } | |