Code Monkey home page Code Monkey logo

stable-diffusion-webui-ipynb's Introduction

Wibus 👨‍💻    (   Email me.   Wibus on Twitter  )

Important

Development temporarily terminated.

I am currently preparing for the National College Entrance Examination (高考) in 2024.

To focus on my studies, I will be limiting my code time. I will probably only fix or otherwise focus on documentation issues for the time being.

Hi! I'm wibus! I am a 🎹 personal piano player and a 🎤 personal singer & maker, core team of 🔨 @jwcjs and 🏖 @mogland

I love myself, love the world, and always love my family. I hope I can become a FSD ( Full Stacks Developer | 全栈开发者) oneday.

I have been contributed to the Typecho ecosystem, and now I am working in Mog & Jwc.js development.

I began to learn vocal music and piano since I was a child, and I have won many first prizes in domestic and international competitions

  • 🔭 I’m currently working on a breakthrough blogging system 🏖 @mogland and web component framework 🔨 @jwcjs
  • 🌱 I’m currently learning 🧵 web design, and so on.
  • 🤔 I’m looking for help with 🥚 MicroService Module design.
  • 📫 How to reach me: 🏠 Home Page | ✍️ Blog (CN) | 🐦 Twitter
  • ⚡ Fun fact: Like sleeping. 💤
  • 🎵 I am currently focusing on the combination of 🇨🇳 Chinese style music and 💡 modern electronic music, and 🎹 piano music in the Baroque period.

Total time coded since Apr 24 2021




Stacks

React TypeScript Sass npm html5 Prettier TailwindCSS NestJS NodeJS MySQL github actions macOS vscode

我的开源项目

🎁 Projects⭐ Stars📚 Forks🛎 Issues📬 Pull requests💡 Last Commit
wibus-wee/PhotosProcessorStarsForksIssuesPull RequestsLast Commits
mogland/coreStarsForksIssuesPull RequestsLast Commits
mx-space/coreStarsForksIssuesPull RequestsLast Commits
jwcjs/coreStarsForksIssuesPull RequestsLast Commits
mogland-dev/mog-render-serviceStarsForksIssuesPull RequestsLast Commits
wibus-wee-ac/icalingua-theme-telegramStarsForksIssuesPull RequestsLast Commits

最近赞了...

  • CatMe0w/zouxian -- Permanent Xcode Predictive Code Completion for Chinese-market Mac computers
  • stackblitz-labs/pkg.pr.new -- Continuous (Preview) Releases for your libraries!
  • MrKai77/Loop -- Window management made elegant.
  • GSQZ/TuneFree -- 一款基于Splayer进行二次开发的音乐播放器,可解析并播放网易云音乐中所有的付费资源。
  • sxzz/tsdown -- An even faster bundler powered by Rolldown.

曾经看了...

捉迷藏

Mog Github Innei


很感谢Innei所写的此项目,真的是我的idol!Innei's Blog:https://innei.ren
此文件 README 间隔 3 小时自动刷新生成!
刷新于:7/1/24, 8:37 PM
下一次刷新:7/1/24, 11:37 PM

Top Language by Repo My Stats
Top Language by Repo My Stats

stable-diffusion-webui-ipynb's People

Contributors

wibus-wee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

stable-diffusion-webui-ipynb's Issues

crashing in webUI launch stage

Describe the bug

when it comes time to run the code cell that starts the gradio web interface during the dependency installation phase, the colab environment exits and stops the instance. I'm using the free version of colab notebook but the exact same behavior happens with kaggle notebook, at this same stage. I also noticed that the processor is loaded at this moment by 110%, which seems strange to me.
image

Reproduction

just start this laptop and it will crash at this point (doesn't happen every time)

System Info

System:
    OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (2) x64 Intel(R) Xeon(R) CPU @ 2.00GHz
    Memory: 9.83 GB / 12.68 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 14.16.0 - /tools/node/bin/node
    npm: 6.14.8 - /tools/node/bin/npm

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

[WebUI] KeyError: 'modelVersions'

Describe the bug

[<ipython-input-3-e1600f25e35f>](https://localhost:8080/#) in getLatestModelDownloadURL(id)
     87   if type(id) == int:
     88     res = requests.get(endpoint + '/' + str(id)).json()
---> 89     latest = res['modelVersions'][0]
     90     # if latest["baseModel"] != "SD 1.5":
     91     #   print("Lora model " + str(id) + " is not SD 1.5, may not work. Skip.")

KeyError: 'modelVersions'

Reproduction

run step 3

System Info

none

Used Package Manager

n/a

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Generate button not working after generating several images with txt2img

Describe the bug

with the latest code stable_diffusion_1_5_webui.ipynb at b8d8ea7,i use checkpoint of chilloutmix_NiPrunedFp32Fix.safetensors [fc2511737a], genrate some images with txt2img by promts from prompts.md file。

it works at the first few time,then genertate stop work, and there's no more logs at colab backend when click generate button. I have to restart colab runtime,then works again . But it still appears like i said before.

Reproduction

install steps by [选择模型] - [检查 GPU & 检查环境] - [ 第一次使用 - 安装依赖并启动] -> input prompts --> generate

System Info

python: 3.9.16  •  
torch: 1.13.1+cu116  •  
xformers: 0.0.16  •  
gradio: 3.23.0  •  
commit: 22bcc7be  •  
checkpoint: fc2511737a

Used Package Manager

n/a

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Couldn't add Vae

Describe the bug

When I tick on the Vae options on Civitai tab and clicked on get list, I couldn't find any and it's say error in the model box T_T
Helpp

Reproduction

System Info

I'm sorry I don't know much about these things 
T_T

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Extension stable-diffusion-webui-images-browser not work

Describe the bug

You are running Gradio version 3.16.2. This version of the extension requires at least Gradio version 3.23.0.

For more details see https://github.com/AlUlkesh/stable-diffusion-webui-images-browser/issues/116#issuecomment-1493259585

Reproduction

Install extension and check the tab

System Info

python: 3.9.16  •  torch: 1.13.1+cu116  •  xformers: 0.0.16  •  gradio: 3.16.2  •  commit: 0cc0ee1b  •  checkpoint: fc2511737a

Used Package Manager

n/a

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

按流程来结果504了,什么情况

Describe the bug

第一次和重启都504了QAQ

Reproduction

网页连不上

System Info

/content/stable-diffusion-webui
Python 3.9.16 (main, Dec  7 2022, 01:11:51) 
[GCC 9.4.0]
Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing requirements for Web UI



Launching Web UI with arguments: --share --enable-insecure-extension-access --xformers --api --cors-allow-origins * --listen
2023-03-13 12:03:53.950677: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-03-13 12:03:56.636753: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.9/dist-packages/cv2/../../lib64:/usr/lib64-nvidia
2023-03-13 12:03:56.636942: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.9/dist-packages/cv2/../../lib64:/usr/lib64-nvidia
2023-03-13 12:03:56.636967: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
[AddNet] Updating model hashes...
100% 9/9 [00:00<00:00, 160.05it/s]
[AddNet] Updating model hashes...
100% 9/9 [00:00<00:00, 7467.60it/s]
Loading weights [fc2511737a] from /content/stable-diffusion-webui/models/Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors
Creating model from config: /content/stable-diffusion-webui/configs/v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Error loading embedding koreanDollLikeness_v15.safetensors:
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 206, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 172, in load_from_file
    assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
AssertionError: embedding file has multiple terms in it

Error loading embedding cuteGirlMix4_v10.safetensors:
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 206, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 172, in load_from_file
    assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
AssertionError: embedding file has multiple terms in it

Error loading embedding fashionGirl_v45.safetensors:
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 206, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 172, in load_from_file
    assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
AssertionError: embedding file has multiple terms in it

Error loading embedding yaeMikoRealistic_yaemikoMixed.safetensors:
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 206, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 172, in load_from_file
    assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
AssertionError: embedding file has multiple terms in it

Error loading embedding girlsFrontlineOts14_v30.safetensors:
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 206, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 172, in load_from_file
    assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
AssertionError: embedding file has multiple terms in it

Error loading embedding koreanDollLikeness_v10.safetensors:
Traceback (most recent call last):
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 206, in load_from_dir
    self.load_from_file(fullfn, fn)
  File "/content/stable-diffusion-webui/modules/textual_inversion/textual_inversion.py", line 172, in load_from_file
    assert len(data.keys()) == 1, 'embedding file has multiple terms in it'
AssertionError: embedding file has multiple terms in it
Textual inversion embeddings loaded(0): 
Model loaded in 13.6s (create model: 7.9s, apply weights to model: 4.4s, load textual inversion embeddings: 1.1s).
Running on local URL:  http://0.0.0.0:7860/
Running on public URL: 

This share link expires in 72 hours. For free permanent hosting and GPU upgrades (NEW!), check out Spaces: https://huggingface.co/spaces

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Resource of Lora model ChilloutMixss

Clear and concise description of the problem

Since https://civitai.com/models/10850/chilloutmixss is not available anymore, could you please also upload Lora model ChilloutMixss? It will be appreciated.

Suggested solution

As described in the problem block.

Alternative

No response

Additional context

No response

Validations

Detected that PyTorch and torchvision were compiled with different CUDA versions.

Describe the bug

Traceback (most recent call last):
  File "/content/stable-diffusion-webui/launch.py", line 365, in <module>
    start()
  File "/content/stable-diffusion-webui/launch.py", line 354, in start
    import webui
  File "/content/stable-diffusion-webui/webui.py", line 15, in <module>
    from modules import import_hook, errors, extra_networks, ui_extra_networks_checkpoints
  File "/content/stable-diffusion-webui/modules/ui_extra_networks_checkpoints.py", line 6, in <module>
    from modules import shared, ui_extra_networks, sd_models
  File "/content/stable-diffusion-webui/modules/shared.py", line 12, in <module>
    import modules.interrogate
  File "/content/stable-diffusion-webui/modules/interrogate.py", line 11, in <module>
    from torchvision import transforms
  File "/usr/local/lib/python3.9/dist-packages/torchvision/__init__.py", line 6, in <module>
    from torchvision import datasets, io, models, ops, transforms, utils
  File "/usr/local/lib/python3.9/dist-packages/torchvision/datasets/__init__.py", line 1, in <module>
    from ._optical_flow import FlyingChairs, FlyingThings3D, HD1K, KittiFlow, Sintel
  File "/usr/local/lib/python3.9/dist-packages/torchvision/datasets/_optical_flow.py", line 12, in <module>
    from ..io.image import _read_png_16
  File "/usr/local/lib/python3.9/dist-packages/torchvision/io/__init__.py", line 8, in <module>
    from ._load_gpu_decoder import _HAS_GPU_VIDEO_DECODER
  File "/usr/local/lib/python3.9/dist-packages/torchvision/io/_load_gpu_decoder.py", line 1, in <module>
    from ..extension import _load_library
  File "/usr/local/lib/python3.9/dist-packages/torchvision/extension.py", line 107, in <module>
    _check_cuda_version()
  File "/usr/local/lib/python3.9/dist-packages/torchvision/extension.py", line 80, in _check_cuda_version
    raise RuntimeError(
RuntimeError: Detected that PyTorch and torchvision were compiled with different CUDA versions. PyTorch has CUDA Version=11.7 and torchvision has CUDA Version=11.8. Please reinstall the torchvision that matches your PyTorch install.

Reproduction

Run step 3

System Info

none

Used Package Manager

n/a

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

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.