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

【FAIL!】Local dir is used to import model weights【FLUX.1,IP-Adapter】 #101

Open
XHB-ZMM opened this issue Sep 5, 2024 · 1 comment

Comments

@XHB-ZMM
Copy link

XHB-ZMM commented Sep 5, 2024

由于我的Linux服务器没法访问huggingface,所以我采用将模型权重下载到本地,然后再导入的方式。一共有以下几处修改地方:
【先说背景,我想要使用IP-Adapter+FLUX出图】

1、ip-adapter的本地权重路径
image

2、image-encoder的本地权重路径(在modelscope上下载的,CLIP-patch14版本)
image

3、FLUX的权重,和VAE的权重
image

4、CLIP-Text-Encoder和T5 Encoder的权重
image

改完之后,程序不报错,可以运行:
image

但是,去噪失败了,结果图也都是噪声
image

tips:完全按照官方给的运行ip-adapter的py命令

@mayuelala
Copy link

你好,请问可以加个微信讨论下吗

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