DeOldify for Stable Diffusion WebUI:Colorize of old photos and old video, based on deoldify
 
 
 
 
 
Go to file
SpenserCai a484066d8b update:sd-webui-go's version 2023-08-15 21:05:01 +08:00
bot update:sd-webui-go's version 2023-08-15 21:05:01 +08:00
deoldify 视频上色开发中 2023-08-07 08:33:16 +08:00
examples update gif 2023-08-11 01:43:38 +08:00
fastai 一波优化 2023-08-03 15:11:22 +08:00
fid 基本结构 2023-07-28 15:40:59 +08:00
models/deoldify 一波优化 2023-08-03 15:11:22 +08:00
scripts fix_bug 2023-08-09 22:32:00 +08:00
.gitignore open source discord bot 2023-08-12 22:05:29 +08:00
LICENSE Initial commit 2023-07-28 10:55:38 +08:00
README.md update readme 2023-08-13 01:12:17 +08:00
app.py 去掉了一些调试代码 2023-08-03 16:24:14 +08:00
install.py use paths_internal get model path 2023-08-04 10:23:33 +08:00

README.md

nonebot

DeOldify for Stable Diffusion WebUI

Discord Server

This is an extension for StableDiffusion's AUTOMATIC1111 web-ui that allows colorize of old photos and old video. It is based on deoldify.

example

News

- 2023-08-12The DeoldifyBot is open source, you can deploy it yourself.

- 2023-08-11The DeoldifyBot is onlined.You can colorize old photo in Discord.

- 2023-08-07Support video colorization.

- 2023-08-05Support install from Extensions list.

- 2023-08-04sd-webui-deoldify released.

Compatibility

OS

OS Compatibility Remark
Windows 11 Thank for @w-e-w test
Linux

Pytorch

Version Compatibility Remark
<=1.13.1+cu117
2.1.0.dev20230711+rocm5.5 Thanks for @fgtm2023 test
2.0.1+cu118 Thank for @w-e-w test

Other

If you have tested other systems or Pytorch during use, please submit a PR and attach a screenshot of the successful operation. Thank you

Installation

In web-ui, go to the "Extensions" tab and use this URL https://github.com/SpenserCai/sd-webui-deoldify in the "install from URL" tab.

2023-08-05Support install from Extensions list

If your network is not good, you can download the extension from Hugging Face Model

Usage

1.To completely exit webui, you need to add --disable-safe-unpickle at startup.

2.In web-ui, go to the "Extra" tab and select "DeOldify" checkbox.

3.Upload the old photo you want to colorize.

Application Scenario

Combining Upscale, GFPGAN, and Denoldify for old photo restoration effects

Before After
before after

Video Colorization

video_demo

Usage

sudo apt install ffmpeg

In "DeOldify" tab, upload the video you want to colorize,set "Render Factor" and click "Run".

DeOldifyBot

Usage

1.Add Discord Server.

DeoldifyBot

2.Build your own DeOldifyBot

# Instal golang
# https://golang.org/doc/install

# Enter bot directory
cd bot
# Create release directory
mkdir release
# Build
bash build.sh
# create config.json
cp ./config.example ./release/config.json
# Edit config.json
# Set your discord bot token
# Set your sd-webui address

# Run
release/DeOldifyBot

TODO

  • Support video colorization
  • Improve video processing speed
  • Support repair options
  • Support for simultaneous generation of images with different Render Factor values and Artistic on/off like “X/Y/Z Script” #2
  • Support need not to add --disable-safe-unpickle at startup #5