Skip to content

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

@orangpelupa

Description

@orangpelupa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleStale issue or inactive for long period of time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions