Open aiisoft opened 6 months ago
the error
File "extensions-builtin/sd_forge_ipadapter/lib_ipadapter/IPAdapterPlus.py", line 22, in <module>
GLOBAL_MODELS_DIR = os.path.join(folder_paths.models_dir, "ipadapter")
I found this error too, few things can fix it 1. mkdir models\ipadapter copy the item model to models\ipadapter code fix @
but in the file models_dir is None /ldm_patched/utils/path_utils.py
this program code is not write complete, so return None by models_dir!
need to fix it!
Checklist
What happened?
通过打印GLOBAL_MODELS_DIR = os.path.join(folder_paths.models_dir, "ipadapter") 输出的值来判断IP-Adapter的模型应该是在:D:\webui_forge\webui\models\ipadapter 但 IP-Adapter模型列表依然是空白的.
Steps to reproduce the problem
1.D:\webui_forge\webui\extensions-builtin\sd_forge_ipadapter\lib_ipadapter\IPAdapterPlus.py 2.在GLOBAL_MODELS_DIR = os.path.join(folder_paths.models_dir, "ipadapter")下方插入Print(GLOBAL_MODELS_DIR) 3.重启webui_forge并在控制台内查看GLOBAL_MODELS_DIR的路径值 4.将IPAdapter模型拷贝进D:\webui_forge\webui\models\ipadapter 5.重启webui_forge 6.ControlNet 单元 0 [IP-Adapter] 模型列表显示为No ne
What should have happened?
列出ipadapter模型选择
What browsers do you use to access the UI ?
Microsoft Edge
Sysinfo
Windows
Console logs
Additional information
No response