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

  • Log In
  • Sign Up

hugaagg
/
IR_expeiment

Diffusers
Model card Files Files and versions
xet
Community

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

  • Libraries
  • Diffusers

    How to use hugaagg/IR_expeiment with Diffusers:

    pip install -U diffusers transformers accelerate
    import torch
    from diffusers import DiffusionPipeline
    
    # switch to "mps" for apple devices
    pipe = DiffusionPipeline.from_pretrained("hugaagg/IR_expeiment", 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
IR_expeiment / PART2 /PromptIR /utils
104 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
hugaagg's picture
hugaagg
Upload folder using huggingface_hub
2ecc7ab verified 4 months ago
  • __pycache__
    Upload folder using huggingface_hub 4 months ago
  • pytorch_ssim
    Upload folder using huggingface_hub 4 months ago
  • __init__.py
    0 Bytes
    Upload folder using huggingface_hub 4 months ago
  • dataset_utils.py
    12.8 kB
    Upload folder using huggingface_hub 4 months ago
  • degradation_utils.py
    2.24 kB
    Upload folder using huggingface_hub 4 months ago
  • image_io.py
    11.3 kB
    Upload folder using huggingface_hub 4 months ago
  • image_utils.py
    9.67 kB
    Upload folder using huggingface_hub 4 months ago
  • imresize.py
    12.6 kB
    Upload folder using huggingface_hub 4 months ago
  • loss_utils.py
    1.96 kB
    Upload folder using huggingface_hub 4 months ago
  • schedulers.py
    14.2 kB
    Upload folder using huggingface_hub 4 months ago
  • val_utils.py
    2.51 kB
    Upload folder using huggingface_hub 4 months ago