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

Apply lora only on negative prompt #12

Open
ljleb opened this issue Jun 29, 2023 · 2 comments
Open

Apply lora only on negative prompt #12

ljleb opened this issue Jun 29, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@ljleb
Copy link

ljleb commented Jun 29, 2023

Hi, I trained a lora network on very ugly images. I want to use this lora only on the uncond epsilon. Is that possible? It does not look like the network activates no matter what setting I use for the "uc" checkboxes when I put <lora:negative:1> in the negative prompt textbox.

@ljleb
Copy link
Author

ljleb commented Jun 29, 2023

I am aware that I can put a negative weight like this: <lora:negative:-1>. However, this isn't what the network was trained for. I still need to provide a proper negative prompt with this setup, and the network is applied to the positive prompt only instead of the negative prompt only.

@a2569875 a2569875 added the enhancement New feature or request label Jun 29, 2023
@ljleb
Copy link
Author

ljleb commented Jun 29, 2023

If it could be possible to give a different weight to positive and negative prompt, that would be ideal in fact. Not sure how easy it is to find a good syntax for that though.

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

No branches or pull requests

2 participants