Code Monkey home page Code Monkey logo

llm_stablediffusion_studio's Introduction

title
LLM StableDiffusion Studio WebUI

理论文章

https://blog.csdn.net/liangwqi/article/details/130300586?spm=1001.2014.3001.5501

https://zhuanlan.zhihu.com/p/623924586

整合LLM大模型的StableDiffussion工作空间

Pip install -r requirement.txt

python studio_root.py 进入可视化界面

clip retrieval理论部分

1.知乎链接

代码见APP_example/clip_retrieval

1.图片库特征抽取代码:extract_embeddings.py 2.图片特征在faiss向量数据库建立索引:build_index.py 3.可视化应用界面:app.py

clip_search00

clip_searcg01

retrieval inage generator理论部分

1.知乎链接

代码见APP_example/retrieval_image_gen,如果直接启动需要24G左右显卡(没这么对显卡同学可以考虑api方式实现llm和image2image,clip检索显卡需求很低)

1.整合最终效果代码:app_gradio.py 2.图片image2image代码:upimage.py 3.openaistyle访问qwen大模型:先启动服务端openai_api.py;在启动可视化界面 chatbot_st.py
aigc-imag0 aigc-img01

致力打造**版StableDiffusion WebUI

本项目持续维护,会集成更多工具,让工具本身更智能顺手 对本项目有兴趣的同学可以一起参与代码维护

F4A3E0B1-C9B9-4DA8-A862-1D3754E41DDA

截屏2023-04-18 下午7 48 50

截屏2023-04-18 下午7 49 58

截屏2023-04-18 下午7 52 07

截屏2023-04-18 上午8 43 06

llm_stablediffusion_studio's People

Contributors

liangwq avatar

Stargazers

MAKOTO avatar  avatar  avatar  avatar GaoJianhua avatar  avatar  avatar  avatar ChaosAwaken avatar Yuri avatar dwang avatar  avatar  avatar lics6 avatar  avatar Jiandan avatar fredchen avatar  avatar

Watchers

 avatar

llm_stablediffusion_studio's Issues

试了很多次每次都是说无法启动detectron2

无法启动detectron2问题
image

python版本3.10(似乎这个版本会出问题?)
image

另外,系统提示transformer需要4.21.0才能适配(不知有无影响)
image

之后单独下载detectron2(版本和requirement一样)还是不行,望大佬解读

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.