"No values found for wildcard”, "Wildcard missing" #4
Replies: 3 comments
-
Looks like you arent using the correct wildcards dir. (Your dynamic prompts extension is probably the one that finds them when using no tier). Set the following flag (to correct dir). When starting automatic1111 or forge (edit webui-user.bat for windows) If you still have issues try disabling dynamic prompts to see if that conflicts. Although it shouldnt. As for metadata, the fully changed prompt will be saved seperate as wildcard prompt with all wildcard results in a seprate param. |
Beta Was this translation helpful? Give feedback.
-
May you live to be a thousand years old sir! Launching A1111 with this now: export PYTORCH_MPS_HIGH_WATERMARK_RATIO=0.0 And just FYI I don’t have A1111 saving a prompt file, just writing to metadata. It shows the expanded WC in the main prompt but not the AD prompt: And for anyone else who’s trying this… I did have to delete any empty lines/spaces in my wildcard.txt file otherwise it can pick an empty line if there are any. I also had to reorder my “Scripts to apply to Adetailer” in Adetailer settings menu to: wildcards,wildcard_recursive,dynamic_prompting,dynamic_thresholding,lora_block_weight,negpip Thank you so much again! |
Beta Was this translation helpful? Give feedback.
-
Ah yes adetailer prompts are annoting to save because of the order in which the generation is saved. Its something I might look into in the future. Also picking empty lines is intended. I use same tier wildcards often where I want to link lines in some cases but output empty lines in others. For example haircolor.txt Hairstyle.txt Stuff like that. Anyway glad it works for you. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey I am trying really hard to get this working but am no coder.
I keep getting errors when I try to use tiered wildcard/prefix, wanting to match wildcard picks between main and AD prompt.
"WARNING:dynamicprompts.samplers.utils:No values found for wildcard '0_MyCharacters's/it]
WARNING:dynamicprompts.samplers.utils:No values found for wildcard '1_MyExpressions'
[N] Normal [T] Tiered [I] Iterative [L] Locked
[] Positive Prompt [] Negative Prompt [] HR Positive Prompt [] HR Negative Prompt
[] Wildcard missing: MyCharacters.txt is not found.
[] Wildcard missing: MyExpressions.txt is not found"
Without the tier/prefix, ie. wildcard not 1_wildcard, the wildcards resolve independently and the wildcard.txt files work fine. They just don’t match between main and AD prompts.
I tried changing the inner separator from _ to * but still errors. I have other dynamic prompts { } within my wildcard files but not actual nested wildcards with other .txt files referenced inside.
The wildcards are in the main wildcard folder and I tried them in deeper folders as well.
I’m running A1111 on Mac: "version: v1.10.1 • python: 3.10.18 • torch: 2.4.0.dev20240529 • xformers: N/A • gradio: 3.41.2 • checkpoint: 8ffda79382”
Using the latest version of your extension: 58d03fe0
I’ve also noticed that in the metadata written to files when I use no tiering the AD wildcard pick does resolve to a identifiable character in the image, ie. changing the face to someone else from the main prompt, but does not write that resolution into the prompt metadata, leaving it as “MyCharacters”, not "lora:character:1 trigger". That doesn’t really matter but can’t use the metadata to confirm what it rolled other than looking at the image itself.
I do have spaces between some lines in my wildcard files if that matters.
I really appreciate your taking a look and providing this extension. So thank you for any and all help!
Beta Was this translation helpful? Give feedback.
All reactions