comfyui-inpaint-nodes
comfyui-inpaint-nodes copied to clipboard
Can't choose model in load INPAINT model or load fooocus model
Can't click on model selection box, nothing shows up or happens as if it's frozen
I have the models in models/inpaint
I have tried several different version of comfy, including most recent
I have encountered this problem, how to solve it?
download all file via "https://huggingface.co/lllyasviel/fooocus_inpaint/tree/main", then you can choose them, instead of just downloading two files.
Same issue here. I cannot see in the model dropdown inpaint_v26.fooocus.patch. the head file is showing up fine.
There is another node pack "Fooocus_Nodes" which overwrites the extensions that show up in the dropdown, so .patch file no longer shows up. See https://github.com/Seedsa/Fooocus_Nodes/issues/22
If you're using this you might have to disable it for now.
I have the same issue, but I don't have “Fooocus_Nodes” installed.
I have the same issue, but I don't have “Fooocus_Nodes” installed.
Same here. No "Seedsa - Fooocus Nodes" present.
Also no Krita-AI SDXL workflow possible because of this problem.
Please resolve.
Thanks.
I encountered the same issue where the model selection box was frozen and nothing showed up. My models were located in models/inpaint
The problem was that the .patch files were not recognized in the model selection dropdown. Although the _add_folder_path function in init.py included the .patch extension, the folder_paths.py file did not have .patch as a supported file extension, causing the files to be ignored.
To fix this, I added .patch to the supported file extensions in folder_paths.py.
Here is the change I made: Added .patch to the list of supported file extensions supported_pt_extensions: Set[str] = set(['.ckpt', '.pt', '.bin', '.pth', '.safetensors', '.patch', '.pkl'])
This change allows the existing code in init.py to work correctly without any modifications
I encountered the same issue where the model selection box was frozen and nothing showed up. My models were located in models/inpaint
The problem was that the .patch files were not recognized in the model selection dropdown. Although the _add_folder_path function in init.py included the .patch extension, the folder_paths.py file did not have .patch as a supported file extension, causing the files to be ignored.
To fix this, I added .patch to the supported file extensions in folder_paths.py.
Here is the change I made: Added .patch to the list of supported file extensions supported_pt_extensions: Set[str] = set(['.ckpt', '.pt', '.bin', '.pth', '.safetensors', '.patch', '.pkl'])
This change allows the existing code in init.py to work correctly without any modifications
It works! Thank you.
I encountered the same issue where the model selection box was frozen and nothing showed up. My models were located in models/inpaint
The problem was that the .patch files were not recognized in the model selection dropdown. Although the _add_folder_path function in init.py included the .patch extension, the folder_paths.py file did not have .patch as a supported file extension, causing the files to be ignored.
To fix this, I added .patch to the supported file extensions in folder_paths.py.
Here is the change I made: Added .patch to the list of supported file extensions supported_pt_extensions: Set[str] = set(['.ckpt', '.pt', '.bin', '.pth', '.safetensors', '.patch', '.pkl'])
This change allows the existing code in init.py to work correctly without any modifications
which folder_paths.py did you change? which node is it located in?
I encountered the same issue where the model selection box was frozen and nothing showed up. My models were located in models/inpaint The problem was that the .patch files were not recognized in the model selection dropdown. Although the _add_folder_path function in init.py included the .patch extension, the folder_paths.py file did not have .patch as a supported file extension, causing the files to be ignored. To fix this, I added .patch to the supported file extensions in folder_paths.py. Here is the change I made: Added .patch to the list of supported file extensions supported_pt_extensions: Set[str] = set(['.ckpt', '.pt', '.bin', '.pth', '.safetensors', '.patch', '.pkl']) This change allows the existing code in init.py to work correctly without any modifications
It works! Thank you.
which folder_paths.py did you change? which node is it located in?
Probably easier to just add a .pth extension to the .patch file if you can't get it to show up for some reason.
I guess I am somewhat ignorant and don't know how to add path extension to .patch file. How do I do so?
On Sun, Nov 3, 2024 at 12:17 PM Acly @.***> wrote:
Probably easier to just add a .pth extension to the .patch file if you can't get it to show up for some reason.
— Reply to this email directly, view it on GitHub https://github.com/Acly/comfyui-inpaint-nodes/issues/66#issuecomment-2453501237, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA3LYDD5DQJH22CQ4ZNVBFTZ6ZLBXAVCNFSM6AAAAABKO4TML6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGUYDCMRTG4 . You are receiving this because you commented.Message ID: @.***>
--
I meant, just rename the file, for example inpaint_v26.fooocus.patch -> inpaint_v26.fooocus.patch.pth
ooh! gotcha. will give it a try. tyvm
I guess I am somewhat ignorant and don't know how to add path extension to .patch file. How do I do so? …
On Sun, Nov 3, 2024 at 12:17 PM Acly @.***> wrote: Probably easier to just add a .pth extension to the .patch file if you can't get it to show up for some reason.
— Reply to this email directly, view it on GitHub <#66 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BA3LYDD5DQJH22CQ4ZNVBFTZ6ZLBXAVCNFSM6AAAAABKO4TML6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGUYDCMRTG4 . You are receiving this because you commented.Message ID: @.***>
--
you can search "folder_paths.py" in your comfyui installation path, then, open the file and modify the variable "supported_pt_extensions"and add ".patch".