Instructions to use hlky/RealESRGAN_x2plus with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hlky/RealESRGAN_x2plus with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hlky/RealESRGAN_x2plus", 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
- Xet hash:
- d534b4c9ef13f9d279532b4f0fab5a8ec7cf5c51983dbda248896534e85e695c
- Size of remote file:
- 33.5 MB
- SHA256:
- 8618c1ef813c0b3672dffe63e7f82d92358da3f9740a3715208c107ba741d5aa
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.