-
-
Notifications
You must be signed in to change notification settings - Fork 314
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
ipadapter model load node will not find models #123
Comments
the priority is as follow:
if you created a models/ipadapter folder you have to place the models there, if the directory is not present then the models should be in the local extension directory. if you specified a location in the extra_model_paths.yaml file, then that will be used |
Same error here, no matter in which of the three folders of previous post by cubiq I put my models, they don"t show in the "Load IPAdapter Model" node. Shutting down, re-installing ... no help. ;) |
Rectification, it works in the third case only, when I put my models in comfyui/custom_nodes/comfyui_ip_adapter_plus/models. It does not work with the location in extra_model_paths.yaml neither with the default comfyui/models/ipadapter. Thanks |
maybe you have an old version of the extension? |
Same error here. I did a full update of Comfy. I also reinstalled IPAdaptor. Older, previously working workflows no longer see the models folder. |
check if you have a comfyui/models/ipadapter/ directory |
Same here, tried comfyui/models/ipadapter/ directory, the legacy one and the extra_model_paths.yaml and nothing worked even after reinstalling unfortunately. |
I might have figured out something, in my case it might have something to do with OneDrive. I change the yaml file path to be at the root of my C: drive and now it is able to find my models. I hope it will help some of you! |
guys, you are asking for troubles in using onedrive |
Yeah it's the worst but I didn't realize it came automatically with windows 11 at the beginning, so now my document tab is kinda cursed I guess. |
Have been having this issue since the most recent update. IPAdapter can't see the models no matter what folder they're in. Specifying location in the extra_model_paths.yaml is ignored |
can you try the version I've uploaded yesterday? |
The issue started after I updated this morning. Everything was working great before then. |
Going to try a few things, culminating with a full ComfyUI reinstall. It would seem that my issue is isolated, so maybe there is something in my installation that's messing with the new update. Will report back! |
Had the same issue, but resolved by putting models in the comfyui/custom_nodes/comfyui_ip_adapter_plus/models folder. |
closing for lack of updates, feel free to reopen if you still have issues |
The problem is not solved. Reinstalled ComfyUI and ComfyUI IP Adapter plus. 2024-01-08 p.s. windows 10 |
PSA: I couldn't get this to work forever and then I realized I misspelled ipadapter in my extra_model_paths.yaml file as "ipadaptor" facepalm. If you are reusing files from Automatic1111, just add the path in your extra_model_paths.yaml file under
and make sure to write this verbatim and add it under the above:
If there isn't already a folder under models with either of those names, create one named ipadapter and clip_vision respectively. Follow the instructions in Github and download the Clip vision models as well. Admittedly, the clip vision instructions are a bit unclear as it says to download "You need the CLIP-ViT-H-14-laion2B-s32B-b79K and CLIP-ViT-bigG-14-laion2B-39B-b160k image encoders" but then goes on to suggest the specific safetensor files for the specific model. Would love this to be cleared up for confusion! Great plugin, thanks! For further clarification - from what I understand Vit-H is all you need for both SDXL and SD15 models. |
I ran into this issue as well, seems for some reason the ipadapter path had not been added to folder_paths.py in the ComfyUI root directory. I added: and that seems to have solved the issue. |
It still behaves unpredictable. I installed the IP Adapter node today, at firtst I put the models to comfyUI/models/IPAdapter/ and it didn't work so I moved them to custom_nodes/IPAdapter/models/ and it started working. Then I enlarged disk volume (I'm using RunPod) and all of sudden it stoped working and surprisingly moving models to the comfyUI/models/IPAdapter/ folder helped this time. So one installation, everything updated to latest version and one time it needs to be in general models folder second time in custom nodes folder. |
it's "ipadapter" all lowercase |
Sorry, my bad in spelling. But it doesn't change anything about the described problem about the node takes the model once from one folder and next time from another folder.. |
the ipadapter folder inside ComfyUI/models/ needs to be deleted if you want to use the models inside the IPAdapter extension folder. the upper/lower case is important in linux, so check that too. |
Hello, |
Load IPAdapter Model could not find the models when they were in Custom Nodes area. I just created new folder: ComfyUI->Models->ipadapter and placed the models in it - now they can be seen in the Load IPAdapter Model node, but now the Load IPAdapter node can't see them) Not sure why these nodes look for the models in different folders, but I guess I'll have to duplicate everything. Anyways the solution is the ipadapter folder in models folder of ComfyUI. |
thanks this worked |
Only thing that worked for me, too. |
Just for reference. I had to create folder comfyui/models/ipadapter/ and place the model there. Now at least this step works again. Windows 11 |
it's working, thanks |
Hello, I've tried all solutions written here, for some of you worked, but I still not able to work it out. I've tried also yo unistall and install again but nothing seems to work. |
only this worked for me! big thanks sir! |
Thank you. That's the right solution |
if anyone is still struggling with this change this class IPAdapterModelLoader inside of IPAdapaterPlus.py and it will give you debugging of where to put the models. My problem was the models folder needed to be named IpAdapter instead of ipadapter.
|
EDIT OK I fixed my problem doing the following: Opened up ComfyUI Manager Clicked 'Install Models' Searched for 'ipadapter' and installed 'ip-adapter-plus_sd15.safetensors' (I had already installed all the others on the list) And it's now working! I've tried every single solution above, and I'm still getting the same error:
|
same |
Found a solution, I've updated my post. |
You have GOT to be £µ¢א¡π9 joking me. One line?!? One line!?! This error came up last year. How can this still be a thing!?! I spent all day on this! Well, thank you very much, sir. You are my hero. (One line...) |
thanks bro, I've been suffering from it for days |
sing xformers attention in VAE i done every thing but its asking for a .py file and in models there is only saftensor and bin help |
But where do I add the `folder_names_and_paths["ipadapter"] = ([os.path.join(models_dir, "ipadapter")] ??? Please |
Below is the answer posted by upasunda on feb11th. Upasunda commented on Feb 11 and that seems to have solved the issue. |
I installed ComfyUI manually and ComfyUI_IPAdapter_plus as at 2024-08-29. After much time unsuccessfully trying to get ComfyUI to output a more informative error message (where is it searching for the ipadapter models?) by changing change main.py and execution.py and IPAdapaterPlus.py I gave up and just traced the methods myself. I quickly found just like @Upasunda that the ipadapter path is still not in the folder_paths.py in the ComfyUI root directory. So this is the full set-up that worked for me: Add to: folder_paths.py in the ComfyUI root directory Take all the of the IPAdapter models from https://huggingface.co/h94/IP-Adapter/tree/main/sdxl_models and put them in ComfyUI/models/ipadapter folder -> where you will have to create the ipadapter folder in the ComfyUI/models folder. IMPORTANT: Make sure what you write in folder_paths.py and what you name your folder in ComfyUI/models/ is THE SAME. Eg: if you use "ipadapters" in ([os.path.join(models_dir, "ipadapters")] then name your folder adapters. If you're using singular, then use the singular when you create your folder. For folder_names_and_paths["ipadapter"] you must use the word ipadapter. |
The SOLUTION for me was finding the "extra_model_paths.yaml" mentioned in the first comment and looking at the paths for ipadapter and don't you know it I'm using Stability Matrix and my paths are all different, put files in correct path and it works. |
this one did not fix my problem, i have the same trash problem -.- |
model files are in model folder for sure. i've checked so many times.
tried re-installing no help
The text was updated successfully, but these errors were encountered: