Giter VIP home page Giter VIP logo

umi-ai-embeds's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

umi-ai-embeds's Issues

how

How to manage wildcards.
I can't find Wildcards Manager

"use the same prompt for each image in a batch" doesn't work as intended

Thanks for the prompt collections! I've played with them a bit, and it seems when I uncheck the option in question in the WebUI, it only works for the 1st batch.

I ran batches of four, and in the 1st batch images 1,2,3 had different prompts; image 1.4 had a same one as 1.3. In the 2nd batch image 2.1 was similar to 1.4 and 1.3; 2.2, 2.3, 2.4, 3.1 had a shared prompt; 3.2, 3.3, 3.4 shared a prompt as well. From batch 4 onwards the prompt was shared by the entire batch.

Umi without anime embeds?

I appreciate the new functionalities to the wildcard system, but I don't understand why this comes with nearly 900 anime character embeddings and a bunch of porn wildcards?

I mean, I do understand it, but wouldn't it make more sense to have that as an opt-in thing?

Use Git LFS or similar for embeddings

With the embeddings recently added to the repo, it's now a 619.84 MB download to clone, the vast majority of which are embeddings. I use Umi-AI for the (fantastic) wildcard system. The embeddings are not something that I (and presumably a fair amount of other users) am that interested in using, but they are slowing down my automated builds and bloating my Docker images pretty significantly.

Is it possible to use Git LFS to store them, or perhaps move them to a separate repository?

tag-autocomplete suggests tags for deleted files (to verify)

So one user on discord had this situation where they deleted all wildcards and started chiselling their own. Valid use case. They complained that tag-autocomplete still suggested old tags to them. Not sure if that's the case. I think the index of tags is built on each web-ui start in the install extension step. Not sure now and too tired to check.

ToDo later.

Settings don't save

image
I would like to set the default values of the "Static Wildcards".
I tried modifying the code but it's not not working, and it doesn't save the setting when you restart the editor.

Negative prompt tensor size mismatch during batch generation

I'm using version 12d04605
It is currently possible to generate tensor size mismatch errors during batch generation, if there are negative prompts in the wildcards.

Example:
I have the following static negative prompt:
(abstract paint), (3d, realistic:1.3), (low quality, worst quality:1.4), (bad anatomy), extra digit, fewer digits, (extra arms:1.2), bad hands, by (bad-artist:0.6), bad-image-v2-39000, Asian-Less-Neg
-> this amounts to ~43 tokens according to the A1111 UI.

I also have the following somewhere in my positive prompt:
**(melee weapon, sword, axe, mace, blade, dagger, modern technology, modern weapons, automatic rifle, backpack, cigarette, jetpack, metal, cars:1.2),**

If I would add this to the static negative prompt, it would bring it over the 75 token limit (~77), but I want to keep it in the positive prompt, as it is used as part of a wildcard.

If I run batch generation (batch size > 1), the following error occurs fairly frequently:
RuntimeError: The expanded size of the tensor (77) must match the existing size (154) at non-singleton dimension 0. Target sizes: [77, 768]. Tensor sizes: [154, 768]

I believe that the root cause of the issue is indeed that the negative prompts of the individual images in the batch have different tensor sizes. Manual workaround for the issue is to insert BREAK at the end of the static negative prompt, so that it always creates a new block, for the dynamically inserted negative prompts, regardless of how long the static negative prompt is.

However, I suggest an improvement of the extension to handle such cases. It should be possible to preprocess negative prompts in case of batch generation, and align the tensor sizes of the negative prompts, eg. by inserting 'BREAK' at the end of negative prompts that are below the maximum tensor size, until they match.

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.