Swin2SR: SwinV2 Transformer for Compressed Image Super-Resolution and Restoration
Paper • 2209.11345 • Published
How to use caidas/swin2SR-classical-sr-x2-64 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-to-image", model="caidas/swin2SR-classical-sr-x2-64") # 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")Swin2SR model that upscales images x2. It was introduced in the paper Swin2SR: SwinV2 Transformer for Compressed Image Super-Resolution and Restoration by Conde et al. and first released in this repository.
This model is intended for image super resolution.
Refer to the documentation.