#How to disable patchmatch in invoke?
11 messages · Page 1 of 1 (latest)
Hi @wraith citrus. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
To disable the "patchmatch" feature in InvokeAI, you need to modify the configuration settings in the invokeia.yaml file.
Here's how you can do it:
- Open the
invokeia.yamlfile in a text editor. - Look for the
patchmatchsetting under theFeaturessection. - Change the value of
patchmatchfromtruetofalse.
Here's what the relevant section of the invokeia.yaml file should look like after the change:
Features:
...
patchmatch: false
...
Please note that this will deactivate the "patchmatch" algorithm for improved inpainting in InvokeAI.
For more details, you can refer to the InvokeAI Configuration Settings (https://invoke-ai.github.io/InvokeAI/features/CONFIGURATION#the-configuration-settings) documentation.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@vocal bridge It appears in version 4, to disable patchmatch, you only need the line - patchmatch: false . It should not be nested under Features like in version 3.
Let me check the knowledge base for you. One moment! :books:
I apologize for the confusion. If the patchmatch setting is not nested under Features, you can disable it by adding the following line to your invokeai.yaml configuration file:
patchmatch: false
This will deactivate the "patchmatch" algorithm for improved inpainting in InvokeAI.
For more details, you can refer to the InvokeAI Configuration Settings (https://invoke-ai.github.io/InvokeAI/features/CONFIGURATION#the-configuration-settings) documentation.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@wraith citrus kapa.ai is still learning and improving, please let us know how it did by reacting below
@vocal bridge Before disabling patchmatch, I got a segfault error but now that I have disabled it, the webui now runs but with a black screen. What is the cause of this and how do I fix it?
Let me check the knowledge base for you. One moment! :books:
The black screen issue on the web UI could be due to several reasons. Here are a few potential solutions based on the knowledge sources:
-
Outdated UI: Ensure that you are using the latest version of the UI. If not, you may need to update it. In some cases, you might need to reset the Web UI. This can be done by going to Settings -> Reset Web UI (source (https://discord.com/channels/1020123559063990373/1174370809888911450)).
-
Browser Cache: Clearing the browser's cache might help. You can do this by opening the browser's console and running the command
localStorage.clear(), then refreshing the page (source (https://github.com/invoke-ai/InvokeAI/issues/4406)). -
Rebuilding the UI: If you've installed InvokeAI from the source code, you might need to rebuild the UI. This can be done by navigating to the
invokeai/frontend/webfolder and runningyarn vite build(source (https://discord.com/channels/1020123559063990373/1174370809888911450)).
If none of these solutions work, it might be a more complex issue that needs to be addressed by the InvokeAI team. In this case, you should consider opening an issue on the InvokeAI GitHub page (https://github.com/invoke-ai/InvokeAI/issues) providing all the relevant details to help them diagnose and fix the problem.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@wraith citrus kapa.ai is still learning and improving, please let us know how it did by reacting below