From 435231ef0876aa434966c87e3437aa4f5811781b Mon Sep 17 00:00:00 2001 From: Any-Winter-4079 <50542132+Any-Winter-4079@users.noreply.github.com> Date: Sat, 8 Oct 2022 01:53:12 +0200 Subject: [PATCH] Get for external TI .bin files to work Issue referenced in https://github.com/invoke-ai/InvokeAI/issues/980#issuecomment-1272162880 Users whose embeddings are trained on a non-regular num_vectors_per_token (e.g. 6), should update this value in their local repo, to get that embedding to work. --- configs/stable-diffusion/v1-inference.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/stable-diffusion/v1-inference.yaml b/configs/stable-diffusion/v1-inference.yaml index da4770ffc7..9c773077b6 100644 --- a/configs/stable-diffusion/v1-inference.yaml +++ b/configs/stable-diffusion/v1-inference.yaml @@ -32,7 +32,7 @@ model: placeholder_strings: ["*"] initializer_words: ['face', 'man', 'photo', 'africanmale'] per_image_tokens: false - num_vectors_per_token: 6 + num_vectors_per_token: 1 progressive_words: False unet_config: