Skip to content
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

Fooocus 2.5.5 ModuleNotFoundError: No module named 'groundingdino.util' #893

Closed
orangpelupa opened this issue Sep 18, 2024 · 4 comments
Closed
Labels
bug Something isn't working stale Stale issue or inactive for long period of time

Comments

@orangpelupa
Copy link

orangpelupa commented Sep 18, 2024

Package

fooocus

When did the issue occur?

Running the Package

What GPU / hardware type are you using?

RTX 4070ti super

What happened?

ever since fooocus 2.5.0, stability matrix has stopped working for fooocus. same issue in 2.5.5. installing fooocus results in ModuleNotFoundError: No module named 'groundingdino.util'ModuleNotFoundError: No module named 'groundingdino.util'

Console output

[System ARGV] ['B:\tools\StabilityMatrix-win-x64\Data\Packages\Fooocus3\launch.py', '--share', '--listen', '192.168.66.162']
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Fooocus version: 2.5.0
[Cleanup] Attempting to delete content of temp dir C:\Users\8492n\AppData\Local\Temp\fooocus
[Cleanup] Cleanup successful
Total VRAM 16376 MB, total RAM 32694 MB
Set vram state to: NORMAL_VRAM
Always offload VRAM
Device: cuda:0 NVIDIA GeForce RTX 4070 Ti SUPER : native
VAE dtype: torch.bfloat16
Traceback (most recent call last):
File "B:\tools\StabilityMatrix-win-x64\Data\Packages\Fooocus3\launch.py", line 147, in
from webui import *
File "B:\tools\StabilityMatrix-win-x64\Data\Packages\Fooocus3\webui.py", line 10, in
import modules.async_worker as worker
File "B:\tools\StabilityMatrix-win-x64\Data\Packages\Fooocus3\modules\async_worker.py", line 3, in
from extras.inpaint_mask import generate_mask_from_image, SAMOptions
File "B:\tools\StabilityMatrix-win-x64\Data\Packages\Fooocus3\extras\inpaint_mask.py", line 6, in
from extras.GroundingDINO.util.inference import default_groundingdino
File "B:\tools\StabilityMatrix-win-x64\Data\Packages\Fooocus3\extras\GroundingDINO\util\inference.py", line 11, in
from groundingdino.util.inference import Model
ModuleNotFoundError: No module named 'groundingdino.util'

Version

2.12.0

What Operating System are you using?

Windows

@orangpelupa orangpelupa added the bug Something isn't working label Sep 18, 2024
@orangpelupa
Copy link
Author

it can be fixed by manually downloading the files in this youtube https://www.youtube.com/watch?v=xe2Ur_QraSY

not sure how to fix stability matrix.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove the stale label or comment, else this will be closed in 5 days.

@github-actions github-actions bot added the stale Stale issue or inactive for long period of time label Oct 19, 2024
Copy link

This issue was closed because it has been stale for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2024
@mr-september
Copy link

Please implement this fix locally. Most users don't even understand the video above because it's not in English. Should not encourage users to download random files from strangers.

mohnjiles added a commit to LykosAI/StabilityMatrix-Dev that referenced this issue Dec 5, 2024
[dev to main] backport: add git and other path stuff to env vars for swarm (891)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Stale issue or inactive for long period of time
Projects
None yet
Development

No branches or pull requests

2 participants