Git Product home page Git Product logo

Comments (8)

DoDoExt avatar DoDoExt commented on July 21, 2024 2

This extension does work, however it only works with Anime/Illustration models like 'Anything', or 'Rev', or "AOM3'. I'm not totally sure why, but even with something like 'Chillmix' I get mixed results. I've tried a handful of 'Realistic' models and they all failed spectacularly. So if you're into illustrated pictures. or anything to do with animation, you should be very happy with this.

My question is: Why? Shouldn't Cutoff guide the model's noise diffusion regardless of which model it is?

from sd-webui-cutoff.

schumar avatar schumar commented on July 21, 2024

Try adding another comma at the end of the target tokens, i.e.
white, green, red, blue, yellow, pink,

from sd-webui-cutoff.

specblades avatar specblades commented on July 21, 2024

Try adding another comma at the end of the target tokens, i.e. white, green, red, blue, yellow, pink,

anyway(

from sd-webui-cutoff.

thot-experiment avatar thot-experiment commented on July 21, 2024

same issue (model used is 1.5emapruned)

i'm using a trailing comma, extension seems to have no effect without cutoff hard, and with it enabled it does something but unclear what

no cutoff baseline

image

a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
Steps: 20, Sampler: DDIM, CFG scale: 7, Seed: 512, Size: 512x768, Model hash: 6ce0161689, Eta DDIM: 0.2

normal cutoff settings
image

a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
Steps: 20, Sampler: DDIM, CFG scale: 7, Seed: 512, Size: 512x768, Model hash: 6ce0161689, Cutoff enabled: True, Cutoff targets: "['red', 'green', 'blue']", Cutoff padding: _</w>, Cutoff weight: 0.5, Cutoff disable_for_neg: True, Cutoff strong: False, Cutoff interpolation: lerp, Eta DDIM: 0.2
[Cutoff] replace: red, green, blue
[Cutoff] to: _</w> (318)
[Cutoff] original: a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
[Cutoff]       #0: a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
[Cutoff]       #1: a full body portrait of a woman with  _  hair wearing a  _  shirt and  _  jeans greg rutkowski
000 <|startoftext|>  a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
001 a</w>            a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
002 full</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
003 body</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
004 portrait</w>     a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
005 of</w>           a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
006 a</w>            a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
007 woman</w>        a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
008 with</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
009 red</w>          a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
010 hair</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
011 wearing</w>      a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
012 a</w>            a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
013 green</w>        a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
014 shirt</w>        a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
015 and</w>          a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
016 blue</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
017 jeans</w>        a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
018 greg</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
019 rut              a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
020 kowski</w>       a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
021 <|endoftext|>    a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
022 <|endoftext|>    a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
.... (there were many lines of this, up to 76, i'm presuming this is a token padding thing of some sort?)

image

a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
Steps: 20, Sampler: DDIM, CFG scale: 7, Seed: 512, Size: 512x768, Model hash: 6ce0161689, Cutoff enabled: True, Cutoff targets: "['red', 'green', 'blue']", Cutoff padding: _</w>, Cutoff weight: 0.5, Cutoff disable_for_neg: True, Cutoff strong: True, Cutoff interpolation: lerp, Eta DDIM: 0.2
[Cutoff] replace: red, green, blue
[Cutoff] to: _</w> (318)
[Cutoff] original: a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
[Cutoff]       #0: a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
[Cutoff]       #1: a full body portrait of a woman with  _  hair wearing a  _  shirt and  _  jeans greg rutkowski
000 <|startoftext|>  a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
001 a</w>            a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
002 full</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
003 body</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
004 portrait</w>     a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
005 of</w>           a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
006 a</w>            a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
007 woman</w>        a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
008 with</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
009 red</w>          a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
010 hair</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
011 wearing</w>      a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
012 a</w>            a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
013 green</w>        a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
014 shirt</w>        a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
015 and</w>          a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
016 blue</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
017 jeans</w>        a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
018 greg</w>         a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
019 rut              a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
020 kowski</w>       a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
021 <|endoftext|>    a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski
022 <|endoftext|>    a full body portrait of a woman with red hair wearing a green shirt and blue jeans greg rutkowski

from sd-webui-cutoff.

hnmr293 avatar hnmr293 commented on July 21, 2024

Thanks for your feedback.
Cutoff limits the tokens' influence scope to a comma-separated range.
So if you don't use comma-separated prompt, Cutoff will do nothing.

from sd-webui-cutoff.

thot-experiment avatar thot-experiment commented on July 21, 2024

Thank you! I actually had figured this out but I forgot to mention it here. I'm setting a reminder to do a pull tomorrow to clarify the readme so that this is obvious to new users, hopefully i get around to it.

from sd-webui-cutoff.

Woisek avatar Woisek commented on July 21, 2024

This is a interesting question and needs an answer ...

from sd-webui-cutoff.

darnell8 avatar darnell8 commented on July 21, 2024

Can the method of finding the linear mean really be applied to vector values? Isn't the value between the specific color and the mean of the sliding line unpredictable?

If I have any mistakes, please correct me.

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.