mirror of
https://github.com/Haoming02/sd-webui-old-photo-restoration.git
synced 2026-01-26 11:19:51 +00:00
2.4 KiB
2.4 KiB
SD Webui Old Photo Restoration
This is an Extension for the Automatic1111 Webui, which allows you to perform Bringing-Old-Photos-Back-to-Life natively.
Compatible with Forge
Original Paper: https://arxiv.org/abs/2004.09484
Original Repo: https://github.com/microsoft/Bringing-Old-Photos-Back-to-Life (includes some example images)
Requirements
- Install this Extension
- Download
global_checkpoints.zipfrom Releases - Extract and put the
checkpointsfolder (not just the files) into~webui/extensions/sd-webui-old-photo-restoration/lib_bopb2l/Global - Download
face_checkpoints.zipfrom Releases - Extract and put the
checkpointsfolder (not just the files) into~webui/extensions/sd-webui-old-photo-restoration/lib_bopb2l/Face_Enhancement - Download
shape_predictor_68_face_landmarks.zipfrom Releases - Extract the
.datfile into~webui/extensions/sd-webui-old-photo-restoration/lib_bopb2l/Face_Detection
The Releases page includes the original links, as well as the backups mirrored by myself
Another mirror: Google Drive
How to Use
After installing this Extension, there will be an Old Photo Restoration section in the Extras tab
- Expand the dropdown to enable the features
- Upload the image(s) to be processed
- Adjust the settings as needed
- Click Generate
- The result(s) will show up on the right once the process finishes
Settings
- Processing Order: Choose between upscaling the image first or perform the restoration first
- Process Scratch: Remove scratches from the image
- Face Restore: Use a pre-trained model to improve the faces
- (This is different from the Webui built-in ones)
- High Resolution: Use higher parameters to do the processing
- (Only has an effect when either
Process ScratchorFace Restoreis also enabled)
- (Only has an effect when either
- Use CPU: Enable this if you do not have a Nvidia GPU or are getting Out of Memory Error
