stable-diffusion-webui-forge
stable-diffusion-webui-forge copied to clipboard
[Feature Request]:
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What would your feature do ?
能正常分割出图像,但是每次执行都很慢,我看每次都执行GroundingDINO install failed.,应该是它导致的,是否禁用 GroundingDINO安装可以解决报错问题,我不清楚如何修改才能用最简单方法就解决此问题。
copying groundingdino\models\GroundingDINO\backbone_init_.py -> build\lib.win-amd64-cpython-310\groundingdino\models\GroundingDINO\backbone
running build_ext
E:\webui_forge_cu121_torch21\system\python\lib\site-packages\torch\utils\cpp_extension.py:383: UserWarning: Error checking compiler version for cl: [WinError 2] ?????
warnings.warn(f'Error checking compiler version for {compiler}: {error}')
Traceback (most recent call last):
File "
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for groundingdino ERROR: Could not build wheels for groundingdino, which is required to install pyproject.toml-based projects
GroundingDINO install failed. Will fall back to local groundingdino this time. Please permanently switch to local groundingdino on Settings/Segment Anything or submit an issue to https://github.com/IDEA-Research/Grounded-Segment-Anything/issues.
Running GroundingDINO Inference
Initializing GroundingDINO GroundingDINO_SwinT_OGC (694MB)
Initializing SAM to cuda:0
Running SAM Inference (1920, 1080, 3)
SAM inference with 1 box, 0 positive prompts, 0 negative prompts
Creating output image
SAM API /sam/sam-predict finished with message: SAM inference with 1 box, 0 positive prompts, 0 negative prompts done. However, GroundingDINO installment has failed. Your process automatically fall back to local groundingdino. Check your terminal for more detail and permanently switch to local groundingdino on Settings/Segment Anything or submit an issue to https://github.com/IDEA-Research/Grounded-Segment-Anything/issues..
Proposed workflow
- Go to ....
- Press ....
- ...
Additional information
No response
I followed the instructions in the console:
"GroundingDINO install failed. Will fall back to local groundingdino this time. Please permanently switch to local groundingdino on Settings/Segment Anything"
And it got rid of this error.