Git Product home page Git Product logo

Comments (3)

hnmr293 avatar hnmr293 commented on July 21, 2024 1

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

long prompt test

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.

Daniel-Poke avatar Daniel-Poke commented on July 21, 2024

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.

hnmr293 avatar hnmr293 commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.