Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

diffutoon添加lora跟没加一样 #273

Open
DestoryVIP opened this issue Nov 22, 2024 · 1 comment
Open

diffutoon添加lora跟没加一样 #273

DestoryVIP opened this issue Nov 22, 2024 · 1 comment

Comments

@DestoryVIP
Copy link

DestoryVIP commented Nov 22, 2024

作者您好,我最近在测试视频转绘,所使用的项目是diffutoon。 之后参照controlnet unit的方式写入配置文件。

"lora_units": [
                        {
                            "model_path":"models/lora/浮雕风格_01_relief.safetensors",
                            "scale":0.6,
                            "keywords":"relief"
                        }
                    ],

然后通过在load_pipeline函数中使用model_manager.load_lora()进行引入。

        for unit in lora_units:
            model_manager.load_lora(unit['model_path'], lora_alpha=unit['scale'])

但是实践下来发现,添加了Lora之后效果没有任何作用。在提示词中已加入<lora: lora_name: 1.0> 和 激活keyword

这里给出一个Bad demo,供复现该问题:

  1. checkpoint地址: https://www.liblib.art/modelinfo/0a20dd42f4234c79a3a8a00231cfc92e?from=search&versionUuid=0754624a7a1b49c9814ac9e48624787c
  2. lora地址:https://www.liblib.art/modelinfo/8e47c4e19a5742d08d0fb4c2a157f982?from=search&versionUuid=bac899291c084b02b0a735426fe0c8f2
@DestoryVIP DestoryVIP changed the title diffutoon添加跟没加一样 diffutoon添加lora跟没加一样 Nov 25, 2024
@LUOMIA
Copy link

LUOMIA commented Jan 9, 2025

你好!请问您的问题解决了嘛?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants