add message

This commit is contained in:
Kohya S
2023-02-11 13:20:58 +09:00
parent 20c00603a8
commit 3f3502fb57

View File

@@ -80,6 +80,8 @@ def interrogate(args):
network.apply_to(text_encoder, unet, True, len(network.unet_loras) > 0) network.apply_to(text_encoder, unet, True, len(network.unet_loras) > 0)
network.to(DEVICE) network.to(DEVICE)
network.eval() network.eval()
print("You can ignore warning messages start with '_IncompatibleKeys' (LoRA model does not have alpha because trained by older script) / '_IncompatibleKeys'の警告は無視して構いません以前のスクリプトで学習されたLoRAモデルのためalphaの定義がありません")
print("get text encoder embeddings with lora.") print("get text encoder embeddings with lora.")
lora_embs = get_all_embeddings(text_encoder) lora_embs = get_all_embeddings(text_encoder)