GithubHelp home page GithubHelp logo

forestwanglin / sd-webui-deoldify Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spensercai/sd-webui-deoldify

0.0 0.0 0.0 25.57 MB

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

License: GNU Affero General Public License v3.0

Shell 0.03% C++ 0.34% Python 96.80% Go 1.37% Cuda 1.27% Smarty 0.19%

sd-webui-deoldify's Introduction

nonebot

DeOldify for Stable Diffusion WebUI

Discord Server QQ Channel

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-12:The DeoldifyBot is open source, you can deploy it yourself.

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

- 2023-08-07:Support video colorization.

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

- 2023-08-04:sd-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-05:Support 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

sd-webui-deoldify's People

Contributors

spensercai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.