-
Notifications
You must be signed in to change notification settings - Fork 432
-
I want to know how to use embeddings in sdcpp. Please guide me. For example, I use the following command:
sd.exe -m ./models/wm_lcm.safetensors --cfg-scale 1 -H 768 -W 512 --seed 16319 --sampling-method lcm --lora-model-dir ./loras --steps 10 -p "(masterpiece, best quality, highres), 1girl, solo, stormtrooper, armor, helmet, sexy, girl, female, blonde hair, lora:lite_stormtrooper:1" -n ", (EasyNegativeV2)" -o ./output/0118.png --vae-tiling --embd-dir ./emb/EasyNegativeV2.
please help me 🙏🙏🙏
Beta Was this translation helpful? Give feedback.
All reactions
There are some known issues with detecting trigger words/pseudo tokens for embeddings #602
I think the main issue here is you're using --embd-dir ./emb/EasyNegativeV2 instead of just --embd-dir ./emb/? (I'm assuming the embedding file is located at ./emb/EasyNegativeV2.pt and not ./emb/EasyNegativeV2/EasyNegativeV2.pt)
Replies: 1 comment 1 reply
-
There are some known issues with detecting trigger words/pseudo tokens for embeddings #602
I think the main issue here is you're using --embd-dir ./emb/EasyNegativeV2 instead of just --embd-dir ./emb/? (I'm assuming the embedding file is located at ./emb/EasyNegativeV2.pt and not ./emb/EasyNegativeV2/EasyNegativeV2.pt)
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
No, all my embedding files are in the emb folder.
path: C:\Users\ysnrfd\Desktop\sdcpp\emb
I wanted to know how to use embeddings in the prompt and negative prompt.
I’m using the build sd-master-10feacf-bin-win-vulkan-x64.zip, and I run it using CMD.
full command for run:
C:\Users\ysnrfd\Desktop\sdcpp>sd.exe -m ./models/wm_lcm.safetensors --cfg-scale 1 -H 512 -W 512 --seed 16319 --sampling-method lcm --lora-model-dir ./loras --steps 10 -p "(masterpiece, best quality, highres), 1girl, solo, stormtrooper, armor, helmet, sexy, girl, female, blonde hair, lora:lite_stormtrooper:1" --negative-prompt "(worst quality, low quality:1.4), (bad hands), bad hands, bad face, bad imgae, bad, bad-hands-5,easynegative2" -o ./output/0121.png --vae-tiling --diffusion-fa --embd-dir ./emb
I’m using Intel HD Graphics 520 for generating images.
Beta Was this translation helpful? Give feedback.
All reactions
-
😕 1