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
Download PART1/CodeFormer/basicsr/__init__.py from hugaagg/IR_expeiment: direct link, hf CLI and curl.
- Browser
- Download file 277 Bytes
-
https://huggingface.co/hugaagg/IR_expeiment/resolve/main/PART1/CodeFormer/basicsr/__init__.py
- Command line
-
hf download hf://hugaagg/IR_expeiment/PART1/CodeFormer/basicsr/__init__.py
-
curl -L -o __init__.py https://huggingface.co/hugaagg/IR_expeiment/resolve/main/PART1/CodeFormer/basicsr/__init__.py
277 Bytes
| # https://github.com/xinntao/BasicSR | |
| # flake8: noqa | |
| from .archs import * | |
| from .data import * | |
| from .losses import * | |
| from .metrics import * | |
| from .models import * | |
| from .ops import * | |
| from .train import * | |
| from .utils import * | |
| from .version import __gitsha__, __version__ | |