Instructions to use caidas/swin2SR-classical-sr-x2-64 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use caidas/swin2SR-classical-sr-x2-64 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-image" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("image-to-image", model="caidas/swin2SR-classical-sr-x2-64")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageToImage processor = AutoImageProcessor.from_pretrained("caidas/swin2SR-classical-sr-x2-64") model = AutoModelForImageToImage.from_pretrained("caidas/swin2SR-classical-sr-x2-64", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
aa18289 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:adf54cd2539bec31262ce6d6f97fea5079fcb8388bc7eaff0082c0dc0c87259c
size 48606685
|