-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Problem in Merge LyCORIS - No module named 'lycoris.kohya_model_utils' #1231
Comments
There is probably a solution by downgrading to a previous release of LyCORIS by editing the requirements.txt file... This would being back the release that had the file the utility is looking for |
Thx for your comment. Then, I tried 1.8.0.dev1 - 1.8.0.dev3, it was not woking. However I found that the error message of "No module named 'lycoris.kohya_model_utils'" strated to appear from 1.8.0.dev4 Any recommendation for the version of lycoris_lora which is working for this merging process? |
downgrading the whole gui to 21.7.16 works so not sure why |
I've downloaded kohya_ss-21.7.16.zip and installed it. After installation procedure, the GUI could turned up, but all the command from action in GUI doesn't make any response, such as open file dialogue> |
I think browser updates are causing gradio to no longer work... You could try to update the gradio release in the requirements.txt file to match the current version... should bring the GUI back to life. The right solution would be for the LyCORIS author to update his python module... or update his utility to extreact lhe LoRA. |
Many thx to your kindness. |
can you write how to downgrade? - what commands need to be executed? |
git checkout df1a9ac gradio needs fix then: |
any resolve ? still have this issue |
The reply from @Boldor83 worked for me. |
I still have the error after going back as far as [v21.7.13) similar issues for merging and other utils |
I got a problem in Merge LyCORIS.
It was working fine, as far as I remember, but all of sudden, it's not working like this.
Error message is:
File "C:\kohya_ss\tools\merge_lycoris.py", line 41, in
from lycoris.kohya_model_utils import (
ModuleNotFoundError: No module named 'lycoris.kohya_model_utils'
the portion of the merge_lycoris.py is:
from lycoris_utils import merge
from lycoris.kohya_model_utils import (
load_models_from_stable_diffusion_checkpoint,
save_stable_diffusion_checkpoint,
load_file
I've tried to sort this out by re-installing the KOHY_SS from the scratch, but it's not working with same error message, though.
Anyone who has same problem, or remedy, would you be so kind to let me know the way to solve this problem?
Many thanks in advance.
The text was updated successfully, but these errors were encountered: