Giter Site home page Giter Site logo

Comments (6)

NUROISEA avatar NUROISEA commented on September 27, 2024

Can you provide the link for the VAE and model you used?

from anime-webui-colab.

Ayaya70 avatar Ayaya70 commented on September 27, 2024

I used Hassaku model. The link is
https://huggingface.co/nolanaatama/hssk/resolve/main/hssk.safetensors

I used the VAE present in the google colab, https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt
but normally I just upload the VAE I want to in batchlinks downloader, and never had this problem before

Stable diffusion model failed to load
Loading weights [None] from /content/models/hssk.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.
loading stable diffusion model: AssertionError
Traceback (most recent call last):
File "/usr/lib/python3.10/threading.py", line 973, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.10/dist-packages/anyio/_backends/_asyncio.py", line 807, in run
result = context.run(func, *args)
File "/content/stable-diffusion-webui/modules/ui.py", line 1515, in
update_image_cfg_scale_visibility = lambda: gr.update(visible=shared.sd_model and shared.sd_model.cond_stage_key == "edit")
File "/content/stable-diffusion-webui/modules/shared.py", line 754, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "/content/stable-diffusion-webui/modules/sd_models.py", line 439, in get_sd_model
load_model()
File "/content/stable-diffusion-webui/modules/sd_models.py", line 510, in load_model
load_model_weights(sd_model, checkpoint_info, state_dict, timer)
File "/content/stable-diffusion-webui/modules/sd_models.py", line 350, in load_model_weights
sd_vae.load_vae(model, vae_file, vae_source)
File "/content/stable-diffusion-webui/modules/sd_vae.py", line 138, in load_vae
assert os.path.isfile(vae_file), f"VAE {vae_source} doesn't exist: {vae_file}"
AssertionError: VAE from commandline argument doesn't exist: /content/VAE/https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt

Stable diffusion model failed to load
Loading weights [None] from /content/models/hssk.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

from anime-webui-colab.

NUROISEA avatar NUROISEA commented on September 27, 2024

AssertionError: VAE from commandline argument doesn't exist: /content/VAE/https://huggingface.co/hakurei/waifu-diffusion-v1-4/resolve/main/vae/kl-f8-anime2.ckpt

You don't need to place the entire link, you only need the file name, hence that error

Image of what to put in the VAE loader

image

You only need to place the link in the first cell :)

As shown in this image

image

from anime-webui-colab.

NUROISEA avatar NUROISEA commented on September 27, 2024

I tested both of the model links you provided, and they seem to work just fine.
image


These are my cell inputs for reference:

First cell: ⏬ Download models

image

Second cell: 🚀 Launch web UI

image

image


Closing this issue for now, feel free to open it again if something is really broken. And if so, please provide all of your inputs in the cells so we can debug this easier, thanks! :)

from anime-webui-colab.

Ayaya70 avatar Ayaya70 commented on September 27, 2024

Thanks so much, I can't believe it was something so simple this entire time... The bizarre is that I always did that and no problems happened before, oh my. One last question, did you test the batchlink downloader? I don't want to risk because I already spent hours on this but just wanna confirm if VAEs uploaded there still works

from anime-webui-colab.

NUROISEA avatar NUROISEA commented on September 27, 2024

Yep, Batchlinks works as expected!

from anime-webui-colab.

Related Issues (20)

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.