How to use caidas/swin2SR-lightweight-x2-64 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-to-image", model="caidas/swin2SR-lightweight-x2-64")
# Load model directly from transformers import AutoImageProcessor, AutoModelForImageToImage processor = AutoImageProcessor.from_pretrained("caidas/swin2SR-lightweight-x2-64") model = AutoModelForImageToImage.from_pretrained("caidas/swin2SR-lightweight-x2-64")
What is a pickle import?