Comments (4)
I once found the same issue. In my case, it was caused by a certain prompt. After I removed it, problem resolved.
I guess it's not because that certain words but something wrong was pasted in the prompt box which is unseen. You can try remove each tag and regenerate the image to see if it can be fixed.
This is what I found, or they're not the same cause.
from sd-webui-cutoff.
Thank you for your feedback.
- Let me know your generation information, especially the prompt, the negative prompt and cutoff tokens.
- Let me know your WebUI version - A1111, vladmandic or others, and its commit number.
from sd-webui-cutoff.
@hnmr293
I'm sorry I used Machine translation, but it may not be very clear
Hello, I have also experienced this situation.
I found that this error occurs when the length of my prompt or Negative prompt exceeds 150.
I used the content of Negative prompt
when testing prompt
Negative prompt:
((((ugly)))),lowres, bad anatomy, [:((No more than one thumb, index finger, middle finger, ring finger and little finger on one hand),(mutated hands and fingers:1.5 ), fused ears, one hand with more than 5 fingers, one hand with less than 5 fingers,):0.5] bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, Missing limbs, three arms, bad feet, text font ui, signature, blurry, malformed hands, long neck, mutated hands and fingers :1.5).(long body :1.3),(mutation ,poorly drawn :1.2), disfigured, malformed, mutated, multiple breasts, yaoi, three legs,
Finally, this is the version of the extension I am using.
IrisRainbowNeko/DreamArtist-sd-webui-extension@12f8077
KohakuBlueleaf/a1111-sd-webui-haku-img@5069e2b
KohakuBlueleaf/a1111-sd-webui-lycoris@4b005e3
DominikDoom/a1111-sd-webui-tagcomplete@1cb4fc8
pkuliyi2015/multidiffusion-upscaler-for-automatic1111@70b3c5e
nonnonstop/sd-webui-3d-open-pose-editor@f2d5aac
Mikubill/sd-webui-controlnet@d8551e4
3a073e9
zanllp/sd-webui-infinite-image-browsing@55d154e
Physton/sd-webui-prompt-all-in-one@937e45b
d8ahazard/sd_dreambooth_extension@b396af2
toriato/stable-diffusion-webui-wd14-tagger@3ba3a73
from sd-webui-cutoff.
Yes, sometimes just 1 token is the difference between getting an error or not. I don't think I had any other plugins running. Options for the plugin don't seem make a difference, once a prompt is "bad", it will repro 100% of the time as long as there is 1 target token which matches 1 thing in the prompt.
If I add 5-10 commas to the prompt, the issue goes away.
AssertionError: tensor and t must have same shape
tensor: torch.Size([154, 768])
t:torch.Size([77, 768])
The numbers 77 and 154 are suspicious to me, because multiples of 75 are about where prompts get split up. Could be that a mis-match in pre- and post-cutoff prompt lengths is the issue.
from sd-webui-cutoff.
Related Issues (20)
- Add cutoff to the diffusers HOT 5
- do you wish to have this extension added to the webui Extension index? HOT 1
- 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
- Request to add settings of default target tokens.
- Set settings from PNG Info automatically
- Does not work if there is only one color selected
- [BUG?]: import name issue
- webui style pnginfo
- Use this extension with SDXL, reports an error. HOT 1
- Working with multiple characters.
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.