Downloads · 30 days
13
1% of all-time downloads
vladmandic/aurasr
aurasr is a machine learning model from vladmandic. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as cc.
Downloads · 30 days
13
1% of all-time downloads
All-time downloads
2K
Public
Repo size
4.9 GB
Likes
0
Public
Click a slice to open those files.
.ckpt2.5 GB · 100%
From the Hugging Face model README

GAN-based Super-Resolution for upscaling generated images, a variation of the GigaGAN paper for image-conditioned upscaling. Torch implementation is based on the unofficial lucidrains/gigagan-pytorch repository.
$ pip install aura-sr
from aura_sr import AuraSR
aura_sr = AuraSR.from_pretrained("fal-ai/AuraSR")
import requests
from io import BytesIO
from PIL import Image
def load_image_from_url(url):
response = requests.get(url)
image_data = BytesIO(response.content)
return Image.open(image_data)
image = load_image_from_url("https://mingukkang.github.io/GigaGAN/static/images/iguana_output.jpg").resize((256, 256))
upscaled_image = aura_sr.upscale_4x(image)