Instructions to use hf-tiny-model-private/tiny-random-Swin2SRModel with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-tiny-model-private/tiny-random-Swin2SRModel with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="hf-tiny-model-private/tiny-random-Swin2SRModel")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("hf-tiny-model-private/tiny-random-Swin2SRModel") model = AutoModel.from_pretrained("hf-tiny-model-private/tiny-random-Swin2SRModel") - Notebooks
- Google Colab
- Kaggle
| { | |
| "crop_size": 32, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "image_processor_type": "Swin2SRImageProcessor", | |
| "pad_size": 8, | |
| "rescale_factor": 0.00392156862745098, | |
| "size": 32 | |
| } | |