Comments (3)
oh, many questions!๐
Thanks for your feedback.
Would my target tokens be:
white, dark brown, denim, blonde
?
๐Yes. With these target tokens, the prompt will be replaced to: 1girl, _ shirt, _ _ jacket, _ jeans, _ hair
and so on.
This replacement is simply carried out by standard re
library.
say I'm using denim instead of say blue, or blonde/brunette instead of gold/brown, will this still work?
๐I think it will work. Of cource, it depends on whether your checkpoint interprets those words correctly. If your checkpoint believes all women are blonde, any efforts to change her hair color will be waste of time.
Can you elaborate on the 75 token limit they might be referring to?
๐This is a difficult question to answer for me. As far as my environment, it is working without any errors - whether it is working "correctly" or not.
Prompt (87 tokens):
a cute girl, white shirt with green tie, red shoes, blue hair, yellow eyes, pink skirt
, a cute girl, white shirt with green tie, red shoes, blue hair, yellow eyes, pink skirt
, a cute girl, white shirt with green tie, red shoes, blue hair, yellow eyes, pink skirt
, a cute girl, white shirt with green tie, red shoes, blue hair, yellow eyes, pink skirt
Negative prompt:
(low quality, worst quality:1.4), nsfw
Target tokens:
white, green, red, blue, yellow, pink
WebUI handles the prompt contains more than 75 tokens in a special way. I don't understand it properly.
Actually I don't use long prompts, so I'm not even going to delve into this issue.
However, I know there are people who like long prompts. Pull Requests are always welcome.
Also they mentioned the targets must have a trailing comma
๐I think no trailing comma is needed. Actually, Cutoff had a bug about this issue. With the trailing comma (or consecutive commas such as blue, red, , , gold
), the prompt was converted to the broken form, such as:
Input: (low quality, worst quality:1.4)
Output: (low quality, worst quality : 1 . 4 )
~~~~~~~~~
So prompt multipliers were broken.
I've fix this issue at 20e87ce and added a note on README.md about corrupted images - Change weight or try SLerp.
from sd-webui-cutoff.
Awesome, that answered all my questions! Excellent write up too ๐
I was struggling with this problem just yesterday with hair colour blending and clothes coming in incorrectly, but this has definitely helped the issue immensely.
Is your work on this (any unknown bugs aside) done or do you have a plan to extend the functionality? I'm loathe to call it a roadmap, but are there any things you had in mind or are actively working towards?
Happy for you to close the issue after your response, thanks again ๐ค๐ค
from sd-webui-cutoff.
Grad I could help you.
Currently no. This extension is just an idea. But suggestions for interesting usages and feature requests are welcome.
from sd-webui-cutoff.
Related Issues (20)
- Allow padding token to be a zero-vector embedding, proposing "0" HOT 5
- fails if negative tokens over 75 HOT 3
- Have you tried enforcing cut-off on each CLIP layer instead of only on the last one? HOT 1
- Request to have the plugin compatible with wildcards HOT 2
- What exactly does Cutoff strongly do? HOT 1
- Add cutoff to the diffusers HOT 5
- do you wish to have this extension added to the webui Extension index? HOT 1
- AssertionError HOT 4
- PLEASE add Cutoff to Vladmantic HOT 12
- Success Receive
- For Posterity: Mismatched tensor size error
- I have a hard time understanding what this CUTS OFF HOT 1
- Can't make it work. HOT 2
- del HOT 1
- Unable to see the difference HOT 3
- SDXL support
- Assertion error with SDXL HOT 1
- SD1.5ใcolab็ฐๅขไธใงๅใใใจไปฅไธใฎใจใฉใผใ็บ็ HOT 3
- Webui api HOT 5
- ComfyUI requires a CutOff node HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sd-webui-cutoff.