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

  • Log In
  • Sign Up

OAOA
/
DifFace

Diffusers
PyTorch
DifFacePipeline
face image enhancement
Model card Files Files and versions
xet
Community

Instructions to use OAOA/DifFace with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Diffusers

    How to use OAOA/DifFace with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("OAOA/DifFace", dtype=torch.bfloat16, device_map="cuda")
    
    prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
    image = pipe(prompt).images[0]
  • Notebooks
  • Google Colab
  • Kaggle
DifFace / cropped_faces
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
Zongsheng
add restorated examples
135f554 over 3 years ago
  • 0143.png
    158 kB
    xet
    add restorated examples over 3 years ago
  • 0240.png
    191 kB
    xet
    add restorated examples over 3 years ago
  • 0342.png
    184 kB
    xet
    add restorated examples over 3 years ago
  • 0345.png
    189 kB
    xet
    add restorated examples over 3 years ago
  • 0368.png
    192 kB
    xet
    add restorated examples over 3 years ago
  • 0412.png
    214 kB
    xet
    add restorated examples over 3 years ago
  • 0444.png
    176 kB
    xet
    add restorated examples over 3 years ago
  • 0478.png
    180 kB
    xet
    add restorated examples over 3 years ago
  • 0500.png
    232 kB
    xet
    add restorated examples over 3 years ago
  • 0599.png
    184 kB
    xet
    add restorated examples over 3 years ago
  • 0717.png
    191 kB
    xet
    add restorated examples over 3 years ago
  • 0720.png
    158 kB
    xet
    add restorated examples over 3 years ago
  • 0729.png
    173 kB
    xet
    add restorated examples over 3 years ago
  • 0763.png
    139 kB
    xet
    add restorated examples over 3 years ago
  • 0770.png
    172 kB
    xet
    add restorated examples over 3 years ago
  • 0777.png
    163 kB
    xet
    add restorated examples over 3 years ago
  • 0885.png
    184 kB
    xet
    add restorated examples over 3 years ago
  • 0934.png
    172 kB
    xet
    add restorated examples over 3 years ago
  • Solvay_conference_1927_0018.png
    327 kB
    xet
    add restorated examples over 3 years ago
  • Solvay_conference_1927_2_16.png
    313 kB
    xet
    add restorated examples over 3 years ago