Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

caidas
/
swin2SR-compressed-sr-x4-48

Image-to-Image
Transformers
PyTorch
Safetensors
swin2sr
vision
Model card Files Files and versions
xet
Community
1

Instructions to use caidas/swin2SR-compressed-sr-x4-48 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use caidas/swin2SR-compressed-sr-x4-48 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-compressed-sr-x4-48")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageToImage
    
    processor = AutoImageProcessor.from_pretrained("caidas/swin2SR-compressed-sr-x4-48")
    model = AutoModelForImageToImage.from_pretrained("caidas/swin2SR-compressed-sr-x4-48", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
swin2SR-compressed-sr-x4-48
98.3 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 7 commits
nielsr's picture
nielsr HF Staff
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
1079c3c verified almost 2 years ago
  • .gitattributes
    1.48 kB
    initial commit almost 4 years ago
  • README.md
    653 Bytes
    Update README.md almost 4 years ago
  • config.json
    776 Bytes
    Upload Swin2SRForImageSuperResolution almost 4 years ago
  • model.safetensors
    49.1 MB
    xet
    Adding `safetensors` variant of this model (#1) almost 2 years ago
  • preprocessor_config.json
    152 Bytes
    Upload processor almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "torch._utils._rebuild_tensor_v2",
    • "collections.OrderedDict",
    • "torch.FloatStorage"

    What is a pickle import?

    49.2 MB
    xet
    Upload Swin2SRForImageSuperResolution almost 4 years ago