Code Monkey home page Code Monkey logo

lcm_i2i_poc's Introduction

LCM_i2i_PoC

LCM-LoRAを用いた高速i2iの検証用リポジトリ

前提環境

以下をインストールしておくこと
git: git
Python: 3.8.10 (3.10でも起動確認済み)
CUDA Toolkit: 11.8

使い方

①コマンドプロンプトから適当なディレクトリでリポジトリをgit clone

cd C:/
git clone --branch test https://github.com/tori29umai0123/LCM_i2i_PoC.git

②install.ps1を右クリック→PowerShellで実行(5分位かかります)
③realtime_i2i.ps1を右クリック→PowerShellで実行
④各種設定してからキャプチャ開始ボタンをクリック。範囲設定後、画像が自動で生成される。
⑤『Window Capture』(生成画像が表示されるウインドウ)がアクティブ時、『P』キーを押すとクリップボードに画像が貼り付けられるので適宜使用してください。

設定例

  • LCMモデル名: latent-consistency/lcm-lora-sdv1-5
  • 生成モデル名: 852wa/SDHK
  • VAEモデルパス: C:\stable-diffusion-webui\models\VAE\kl-f8-anime2.ckpt
  • LoRAモデルパス: C:\stable-diffusion-webui\models\Lora\style-lineart.safetensors
  • LoRAstrength: 1.0
  • プロンプト: 1girl, line art, chibi, full body
  • strength: 0.5
  • num_inference_steps: 8

lcm_i2i_poc's People

Contributors

mattyamonaca avatar tori29umai0123 avatar sotokisehiro 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.