image_restoration
5
license:mit
by
deepghs
Image Model
OTHER
New
0 downloads
Early-stage
Edge AI:
Mobile
Laptop
Server
Unknown
Mobile
Laptop
Server
Quick Summary
AI model with specialized capabilities.
Code Examples
Usagebash
pip install dghs-imgutilsUsagepython
from imgutils.restore import restore_with_nafnet, restore_with_scunet
from PIL import Image
# Load your degraded image
image = Image.open('degraded_image.jpg')
# Restore using NAFNet (recommended for general restoration)
restored_nafnet = restore_with_nafnet(image, model='REDS')
# Restore using SCUNet (alternative approach)
restored_scunet = restore_with_scunet(image, model='GAN')
# Save restored images
restored_nafnet.save('restored_nafnet.jpg')
restored_scunet.save('restored_scunet.jpg')Deploy This Model
Production-ready deployment in minutes
Together.ai
Instant API access to this model
Production-ready inference API. Start free, scale to millions.
Try Free APIReplicate
One-click model deployment
Run models in the cloud with simple API. No DevOps required.
Deploy NowDisclosure: We may earn a commission from these partners. This helps keep LLMYourWay free.