Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Networks with errors lora #16676

Open
1 of 6 tasks
Musess opened this issue Nov 24, 2024 · 0 comments
Open
1 of 6 tasks

[Bug]: Networks with errors lora #16676

Musess opened this issue Nov 24, 2024 · 0 comments
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@Musess
Copy link

Musess commented Nov 24, 2024

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

When I try to create an image using Lora, I get
error network lora name(32) and the lora does not come out correctly.

Example: When trying to use lora diana-prince-dcau-ponyxl-lora-nochekaiser
This is what the error message will look like
Network with error: diana-prince-dcau-ponyxl-lora-nochekaiser (32)
The same goes for other loras.
화면 캡처 2024-11-23 154812

Steps to reproduce the problem

  1. Select Lora.
  2. Create a prompt for that Lora.
  3. Start the task.

What should have happened?

The Lora (character) must function properly and generate outputs successfully.
Additionally, the error message "error network lora name (32)" should no longer appear.

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

sysinfo-2024-11-24-02-54.json

Console logs

Loading network C:\stable-diffusion-webui\models\Lora\loradiana-prince-dcau-ponyxl-lora-nochekaiser.safetensors: FileNotFoundError

Traceback (at the end of the most recent call):

File “C:\stable-diffusion-webui\extensions-builtin\Lora\networks.py”, line 321, in load_networks.

NET = load_networks(name, network_on_disk)

In File “C:\stable-diffusion-webui\extensions-builtin\Lora\networks.py”, Line 160, load_network

net.mtime = os.path.getmtime(network_on_disk.filename)

File “C:\Python310\lib\genericpath.py”, line 55, in getmtime

Return os.stat(filename).st_mtime

File not found error: [WinError 2] The specified file could not be found: 'C:\\stable-diffusion-webui\\models\\Lora\\loradiana-prince-dcau-ponyxl-lora-nochekaiser.safetensors'

Additional information

This is the version I'm using.
version:v1.10.1  •  python: 3.10.11  •  torch: 2.1.2+cu121  •  xformers: 0.0.23.post1  •  gradio: 3.41.2  •  checkpoint: ac006fdd7e
The path to lora.
C:\stable-diffusion-webui\models\Lora
I used this model.
autismmixSDXL_autismmixConfetti.safetensors

Steps I have tried to resolve the issue:

  1. Reinstalled Stable Diffusion.
  2. Deleted and reinstalled the Lora file.
  3. Renamed the Lora file.
  4. Reinstalled the checkpoint (model).

I still have no idea why this error occurs. I would greatly appreciate your help.

@Musess Musess added the bug-report Report of a bug, yet to be confirmed label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

1 participant