Git Product home page Git Product logo

kohya-trainer's Introduction

Kohya Trainer V4 Colab UI - VRAM 12GB

Best way to train Stable Diffusion model for peeps who didn't have good GPU

Adapted to Google Colab based on Kohya Guide
Adapted to Google Colab by Linaqruf
You can find latest notebook update here


What is this?


Q: So what's differences between Kohya Trainer and other Stable Diffusion trainer out there?

A: Kohya Trainer have some new features like

  1. Using the U-Net learning
  2. Automatic captioning/tagging for every image automatically with BLIP/DeepDanbooru
  3. Implemented NovelAI Aspect Ratio Bucketing Tool so you don't need to crop image dataset 512x512 ever again
  • Use the output of the second-to-last layer of CLIP (Text Encoder) instead of the last layer.
  • Learning at non-square resolutions (Aspect Ratio Bucketing) .
  • Extend token length from 75 to 225.
  1. By preparing a certain number of images (several hundred or more seems to be desirable), you can make learning even more flexible than with DreamBooth.
  2. It also support Hypernetwork learning
  3. NEW! 23/11 - Implemented Waifu Diffusion 1.4 Tagger for alternative DeepDanbooru to auto-tagging

Q: And what's differences between this notebook and other dreambooth notebook out there?

A: We're adding Quality of Life features such as:

  • Install gallery-dl to scrap images, so you can get your own dataset fast with google bandwidth
  • Huggingface Integration, here you can login to huggingface-hub and upload your trained model/dataset to huggingface

Credit

Kohya | Just for my part

kohya-trainer's People

Contributors

linaqruf 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.