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
6.59 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 5 commits
Laksh-Mendpara's picture
Laksh-Mendpara
Update model card
9dc7d71 about 2 months ago
  • transformer
    Upload dit4sr-replication from checkpoint-150000 about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    1.47 kB
    Update model card about 2 months ago
  • source_checkpoint.json
    305 Bytes
    Add metadata for dit4sr-replication about 2 months ago