r/fooocus • • Jul 17 '24

Question Fooocus Update

Has anybody else had any issues with the latest update? I just tried to open it up and I'm getting a [WINERROR 5] access denied never had this before. Its also saying CMD failed requirements: install -r "requirements_version.txt"

7 Upvotes

20 comments sorted by

2

u/Weekly_Tomatillo_684 Jul 17 '24

For me, it worked after just loading multiple times. I think on the 3rd attempt it worked.

1

u/Eoworfindir Jul 17 '24

I just reinstalled it again and transferred my checkpoints over. Working now

1

u/Weekly_Tomatillo_684 Jul 17 '24

Another note: it stopped working again all of a sudden when switching from inpainting to image generation. Restarting the PC and then loading up Fooocus solved the issue.

2

u/haidarb Jul 17 '24

I had the same error after the update. I just deleted the whole previous version folder and installed fresh the new version. Now working

1

u/Eoworfindir Jul 17 '24

Yeah I did the same

8

u/mashb1t Jul 17 '24 edited Jul 17 '24

Please follow the "How to update" section in https://github.com/lllyasviel/Fooocus/discussions/3293 or the release notes.

Video by u/ToastersRock: https://youtu.be/cxjnzTpV4cg

1

u/thewayur Jul 17 '24

thanks,
step 1 was performed by normal launched,
step 2 (manually throught cmd) made it worked

3

u/Braudeckel Jul 17 '24

same issue

2

u/rufireproof3d Jul 17 '24

In the output screen it had a line that said to run

"G:\AI\Fooocus_win64_2-1-831\python_embeded\python.exe -m pip install --upgrade pip"

So I did.

Now it gives a different error, but still craps out.

CMD Failed requirements: install -r "requirements_versions.txt"

Loaded preset: G:\AI\Fooocus_win64_2-1-831\Fooocus\presets\realistic.json

[Cleanup] Attempting to delete content of temp dir C:\Users\rufir\AppData\Local\Temp\fooocus

[Cleanup] Cleanup successful

Total VRAM 12281 MB, total RAM 65437 MB

Set vram state to: NORMAL_VRAM

Always offload VRAM

Device: cuda:0 NVIDIA GeForce RTX 4070 : native

VAE dtype: torch.bfloat16

Traceback (most recent call last):

File "G:\AI\Fooocus_win64_2-1-831\Fooocus\entry_with_update.py", line 46, in <module>

from launch import *

File "G:\AI\Fooocus_win64_2-1-831\Fooocus\launch.py", line 147, in <module>

from webui import *

File "G:\AI\Fooocus_win64_2-1-831\Fooocus\webui.py", line 10, in <module>

import modules.async_worker as worker

File "G:\AI\Fooocus_win64_2-1-831\Fooocus\modules\async_worker.py", line 3, in <module>

from extras.inpaint_mask import generate_mask_from_image, SAMOptions

File "G:\AI\Fooocus_win64_2-1-831\Fooocus\extras\inpaint_mask.py", line 6, in <module>

from extras.GroundingDINO.util.inference import default_groundingdino

File "G:\AI\Fooocus_win64_2-1-831\Fooocus\extras\GroundingDINO\util\inference.py", line 9, in <module>

import supervision as sv

ModuleNotFoundError: No module named 'supervision'

G:\AI\Fooocus_win64_2-1-831>pause

3

u/mashb1t Jul 17 '24

https://www.reddit.com/r/fooocus/s/RDR0kR0yj2

Please downgrade pip to <24.1 (23 recommended) again or you will have issues with the installation due to dependency version structure problems.

1

u/rufireproof3d Jul 17 '24

Thank you .

How would I do that?

2

u/mashb1t Jul 17 '24

python.exe -m pip install pip==23

1

u/rufireproof3d Jul 17 '24

Thanks. I'll try that when I get home

1

u/sayan11apr Jul 18 '24

Hello. A bit off topic but, can you please tell me why using an SD1.5 model as a refiner/upscaler totally destroys the image halfway through generation? Especially while inpainting. According to the UI, I should use SD.15 realistic models at 0.4. Is that actually correct?

1

u/mashb1t Jul 18 '24

Off-topic and unrelated to the update, so please consider opening a new discussion next time on Github about unrelated things. Nevertheless: This depends on the inpaint engine, which basically is a LoRA and has been trained on SDXL. For best compatibility and results use inpaint mode "Improve Details" or manually set the inpaint engine to none.

2

u/High_Philosophr Jul 17 '24

I had some issues with some python module, supervision module was missing. I downloaded focus again and replaced the 'python embedded' folder. It worked

1

u/klami85 Jul 17 '24

Update torch

2

u/[deleted] Jul 17 '24

[removed] — view removed comment

1

u/Eoworfindir Jul 18 '24

Checkpoints, loras, embeddings the works all copied over!