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

fix for import scripts.A1111.networks as nets error on lora merge #424

Closed
Luke2642 opened this issue Dec 31, 2024 · 1 comment
Closed

fix for import scripts.A1111.networks as nets error on lora merge #424

Luke2642 opened this issue Dec 31, 2024 · 1 comment

Comments

@Luke2642
Copy link

I got an error attempting to merge a lora into a checkpoint

to fix, modify line, comment out:

def newpluslora(theta_0,filenames,lweis,names, isxl,isv2, keychanger):
#import scripts.A1111.networks as nets

add line at top:

from scripts.A1111 import networks as nets

seems to fix it

@hako-mikan
Copy link
Owner

Thanks!
Fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants