Giter Site home page Giter Site logo

Comments (4)

bmaltais avatar bmaltais commented on July 28, 2024 1

I will add it to the next release. It is now in the dev branch.

To test it you can:

git checkout dev
git pull

To go back to the master branch:

git checkout master

from kohya_ss.

bmaltais avatar bmaltais commented on July 28, 2024 1

As far as I understand kohya's code the token mean everything before the coma... But I might be wrong. Better to ask kohya directly on his GitHub repo.

When shuffling captions it will shuffle words between commas... Like if you have:

Woman, high heels, background

A shuffle might be

Background, woman, high heels

from kohya_ss.

onusai avatar onusai commented on July 28, 2024

im trying to understand how this works, does tokens refer to the comma separated tags in the caption file? so keep 1 token = keep 1 tag? or does token refer to the actual token when text goes through tokenization?

for example if the first comma separated tag in my caption file is "eris greyrat" would i set this to keep_tokens 1 or 4? (according to the tokenization webui exention, "eris greyrat" is 4 tokens)
image

also what exactly does "shuffling caption tokens" mean? is it shuffling the comma separated tags in the caption file, or it is actually shuffling all the "real" tokens?

from kohya_ss.

onusai avatar onusai commented on July 28, 2024

someone on discord also said a similar thing so its probably as you've described, thanks for answering :)

from kohya_ss.

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.