Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

NisargUpadhyay
/
ImageSuperResolution-replication

Image-to-Image
Diffusers
Safetensors
dit4sr
super-resolution
diffusion-transformer
Model card Files Files and versions
xet
Community

Instructions to use NisargUpadhyay/ImageSuperResolution-replication with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use NisargUpadhyay/ImageSuperResolution-replication with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    from diffusers.utils import load_image
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("NisargUpadhyay/ImageSuperResolution-replication", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Turn this cat into a dog"
    input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png")
    
    image = pipe(image=input_image, prompt=prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
ImageSuperResolution-replication / transformer
6.59 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
NisargUpadhyay's picture
NisargUpadhyay
Upload dit4sr-replication from checkpoint-150000
b7d3a64 verified about 2 months ago
  • config.json
    580 Bytes
    Upload dit4sr-replication from checkpoint-150000 about 2 months ago
  • diffusion_pytorch_model.safetensors
    6.59 GB
    xet
    Upload dit4sr-replication from checkpoint-150000 about 2 months ago