Fooocus
Fooocus copied to clipboard
Fooocus mask enhance, mask upload and invert.蒙版增强功能,上传蒙版、反转手涂蒙版
Functional descriptions, like this link https://github.com/lllyasviel/Fooocus/pull/1126 Fooocus mask enhance, mask upload and invert.蒙版增强功能,上传蒙版、反转手涂蒙版 I closed the original request and copied the code to a branch, and my main branch was used to incorporate various enhancements 我关闭了原先的请求,把代码复制一个分支,我的主分支用来合并各种功能增强。 现在请参考这个地址 https://github.com/xhoxye/Fooocus-up_mask/tree/Fooocus_mask_enhance
Closes https://github.com/lllyasviel/Fooocus/issues/1036
@xhoxye, 非常好的增强,SimpleSDXL能合并这个增强分支吗?不太会整这种分支的事儿😭
@xhoxye, 非常好的增强,SimpleSDXL能合并这个增强分支吗?不太会整这种分支的事儿😭
可以的,我把这个分支给你拉一个请求?我也不太懂操作?
which files to replace to get this functionality ? I changed 2 files (webui.py and async_worker.py).. Fooocus doesnt seem to start.
which files to replace to get this functionality ? I changed 2 files (webui.py and async_worker.py).. Fooocus doesnt seem to start.
You downloaded the wrong file. My request is without ui_wildcards_enhance.py. You have to make sure that the modified code is consistent with my file code. If you use the official version, you can download and replace it. If it is not the official version, you can modify it according to my code.
https://github.com/xhoxye/Fooocus-up_mask/tree/Fooocus_mask_enhance
can you, please, write a code to modify official version
can you, please, write a code to modify official version
What do you mean? I, um, modified it based on the official version.
Replace only two files with the ones from the new repository !wget https://github.com/xhoxye/Fooocus-up_mask/blob/Fooocus_mask_enhance/webui.py -O {HOME_FOLDER}/Fooocus/webui.py !wget https://github.com/xhoxye/Fooocus-up_mask/blob/Fooocus_mask_enhance/modules/async_worker.py -O {HOME_FOLDER}/Fooocus/modules/async_worker.py I use kaggle and it not work((
Replace only two files with the ones from the new repository仅将两个文件替换为新存储库中的文件 !wget https://github.com/xhoxye/Fooocus-up_mask/blob/Fooocus_mask_enhance/webui.py -O {HOME_FOLDER}/Fooocus/webui.py !wget https://github.com/xhoxye/Fooocus-up_mask/blob/Fooocus_mask_enhance/webui.py-O {HOME_FOLDER}/Foocus/webui.py !wget https://github.com/xhoxye/Fooocus-up_mask/blob/Fooocus_mask_enhance/modules/async_worker.py -O {HOME_FOLDER}/Fooocus/modules/async_worker.py !wget https://github.com/xhoxye/Fooocus-up_mask/blob/Fooocus_mask_enhance/modules/async_worker.py-O {HOME_FOLDER}/Foocus/modules/Fooc_worker.py I use kaggle and it not work(( 我用kaggle和它不工作((
I tested it just now. The merger works normally. There is no problem in using it.
I did the same things before but it failed to run Fooocus, so i started the GUI without update. After replacing the 2 files stated here :
https://raw.githubusercontent.com/xhoxye/Fooocus-up_mask/Fooocus_mask_enhance/webui.py https://raw.githubusercontent.com/xhoxye/Fooocus-up_mask/Fooocus_mask_enhance/modules/async_worker.py
I started the GUI without update with following custom run2.bat edit :
And it worked.. Thank you very much for this ability in focus. I appreciate the effort of the developers.
Mask feature is compleately broken. If I add a object and a mask and try to change the background by inverting the mask it gives me faulty results. The same principle and technique works like a charm in A1111. Any ideas?
Mask feature is compleately broken. If I add a object and a mask and try to change the background by inverting the mask it gives me faulty results. The same principle and technique works like a charm in A1111. Any ideas?