Giter Club home page Giter Club logo

merge-stable-diffusion-models-without-distortion-gui's Introduction

To continue to develop i will be happy to get some support.

Merge-Stable-Diffusion-models-without-distortion-gui

I created this simple GUI for this project because of some users requests.

This only GUI for the code as is, so if you have any issues related to the original code, please refer to the original repository. I have not extensively tested the original code, so the results may be unexpected.

If you encounter any issues with the GUI or think that it is implemented incorrectly, please open an issue.

If you have any questions or concerns, please don't hesitate to ask for help.

v0.0.2

0.0.2

Windows Releases

Dev:

git clone https://github.com/diStyApps/Merge-Stable-Diffusion-models-without-distortion-gui
cd Merge-Stable-Diffusion-models-without-distortion-gui
conda env create -f conda.yaml
conda activate git_re_sd_wd_gui
pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113 scipy pytorch_lightning pysimplegui pandas safetensors==0.2.6
python run_app_gui.py

Merge-Stable-Diffusion-models-without-distortion

I wrote the permutation spec for Stable Diffusion necessary to merge with the git-re-basin method outlined here - https://github.com/samuela/git-re-basin. This is based on a 3rd-party python implementation of that here - https://github.com/themrzmaster/git-re-basin-pytorch.

The results of a model merge have not been tested yet but I am done with the spec. To merge, you will need to install pytorch 1.11.0 or lower (1.12.0 will not work).

Download the code folder, open cmd in the directory, transfer the desired models to the same folder and run "python SD_rebasin_merge.py --model_a nameofmodela.ckpt --model_b nameofmodelb.ckpt"

If not in the same directory then pathofmodela.ckpt and pathofmodelb.ckpt instead

CPU + GPU works now

merge-stable-diffusion-models-without-distortion-gui's People

Contributors

distyapps avatar ogkalu2 avatar producermatt avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.