Coder Social home page Coder Social logo

Comments (7)

DEX-1101 avatar DEX-1101 commented on July 4, 2024 2

!cd /content/stable-diffusion-webui/extensions/a1111-sd-webui-locon && git checkout 04b768b
run it after cloning webui, work for me so far

from a1111-sd-webui-locon.

KohakuBlueleaf avatar KohakuBlueleaf commented on July 4, 2024 1

@DEX-1101 lycoris ext can support "normal lora"
Since "normal lora" is subset of locon

from a1111-sd-webui-locon.

kemomimi2929 avatar kemomimi2929 commented on July 4, 2024

thank you!
I used the code you gave me
I got this error.
Anyone know the cause?
"loading Lora /content/stable-diffusion-webui/models/Lora/happymeek_loha.safetensors: AssertionError
Traceback (most recent call last):
File "/content/stable-diffusion-webui/extensions-builtin/Lora/lora.py", line 253, in load_loras
lora = load_lora(name, lora_on_disk)
File "/content/stable-diffusion-webui/extensions-builtin/Lora/lora.py", line 220, in load_lora
raise AssertionError(f"Bad Lora layer name: {key_diffusers} - must end in lora_up.weight, lora_down.weight or alpha")
AssertionError: Bad Lora layer name: lora_te_text_model_encoder_layers_0_mlp_fc1.hada_w1_a - must end in lora_up.weight, lora_down.weight or alpha"

It's this error.
please. Help me.

from a1111-sd-webui-locon.

DEX-1101 avatar DEX-1101 commented on July 4, 2024

if you're using latests webui, you can try using old commit to make it work since this extension is deprecated, or you can try https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris instead, idk if its works on normal lora since its lycoris type.

from a1111-sd-webui-locon.

AmndaIC1805 avatar AmndaIC1805 commented on July 4, 2024

hello anyone know what causing this error ?
reading lora /content/bilek/models/LyCORIS/victoricamajonotabitabi.safetensors: AssertionError
Traceback (most recent call last):
File "/content/bilek/extensions/bilek-lycoris/lycoris.py", line 146, in init
self.metadata = sd_models.read_metadata_from_safetensors(filename)
File "/content/bilek/modules/sd_models.py", line 232, in read_metadata_from_safetensors
assert metadata_len > 2 and json_start in (b'{"', b"{'"), f"{filename} is not a safetensors file"
AssertionError: /content/bilek/models/LyCORIS/victoricamajonotabitabi.safetensors is not a safetensors file

from a1111-sd-webui-locon.

DEX-1101 avatar DEX-1101 commented on July 4, 2024

where your download the file?
its either wrong extension or corrupted download/uncompleted.

from a1111-sd-webui-locon.

AmndaIC1805 avatar AmndaIC1805 commented on July 4, 2024

where your download the file? its either wrong extension or corrupted download/uncompleted.

thanks for your reply, i just figure out that was corrupted of uncomplete download because civitai server is kinda meh, ive been try to redownload it and it been works.

from a1111-sd-webui-locon.

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.