IDEA-Research / Grounded-Segment-Anything

Grounded SAM: Marrying Grounding DINO with Segment Anything & Stable Diffusion & Recognize Anything - Automatically Detect , Segment and Generate Anything
https://arxiv.org/abs/2401.14159
Apache License 2.0
15.16k stars 1.4k forks source link

秋叶整合包 install groundingdino error #208

Closed guytakeiteasy closed 1 year ago

guytakeiteasy commented 1 year ago

D:/tools/Stable diffusion/SD-webui-aki-v3/py310/lib/site-packages/torch/include\ATen/TensorIterator.h(915): note: \xb2鿴\xb6\xd4\xd5\xfd\xd4ڱ\xe0\xd2\xeb\xb5\xc4 \xc0\xe0 ģ\xb0\xe5 ʵ\xc0\xfd\xbb\xaf\xa1\xb0c10::optional<c10::SmallVector<__int64,5>>\xa1\xb1\xb5\xc4\xd2\xfd\xd3\xc3

  D:/tools/Stable diffusion/SD-webui-aki-v3/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: \xa1\xb0c10::trivially_copyable_optimization_optional_base<T>\xa1\xb1: \xd2ѽ\xab\xce\xf6\xb9\xb9\xba\xaf\xca\xfd\xd2\xfeʽ\xb6\xa8\xd2\xe5Ϊ\xa1\xb0\xd2\xd1ɾ\xb3\xfd\xa1\xb1

          with

          [

              T=c10::SmallVector<__int64,5>

          ]

  ninja: build stopped: subcommand failed.

  Traceback (most recent call last):

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1900, in _run_ninja_build

      subprocess.run(

    File "subprocess.py", line 526, in run

  subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

  The above exception was the direct cause of the following exception:

  Traceback (most recent call last):

    File "<string>", line 2, in <module>

    File "<pip-setuptools-caller>", line 34, in <module>

    File "C:\Users\jack\AppData\Local\Temp\pip-req-build-3pxga87l\setup.py", line 192, in <module>

      setup(

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\__init__.py", line 87, in setup

      return distutils.core.setup(**attrs)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup

      return run_commands(dist)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands

      dist.run_commands()

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands

      self.run_command(cmd)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\dist.py", line 1217, in run_command

      super().run_command(command)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command

      cmd_obj.run()

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\wheel\bdist_wheel.py", line 325, in run

      self.run_command("build")

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command

      self.distribution.run_command(command)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\dist.py", line 1217, in run_command

      super().run_command(command)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command

      cmd_obj.run()

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run

      self.run_command(cmd_name)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command

      self.distribution.run_command(command)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\dist.py", line 1217, in run_command

      super().run_command(command)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command

      cmd_obj.run()

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\command\build_ext.py", line 84, in run

      _build_ext.run(self)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 346, in run

      self.build_extensions()

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions

      build_ext.build_extensions(self)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 468, in build_extensions

      self._build_extensions_serial()

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 494, in _build_extensions_serial

      self.build_extension(ext)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension

      _build_ext.build_extension(self, ext)

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 549, in build_extension

      objects = self.compiler.compile(

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile

      _write_ninja_file_and_compile_objects(

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1573, in _write_ninja_file_and_compile_objects

      _run_ninja_build(

    File "D:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1916, in _run_ninja_build

      raise RuntimeError(message) from e

  RuntimeError: Error compiling objects for extension

提示:Python 运行时抛出了一个异常。请检查疑难解答页面。

  [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: subprocess-exited-with-error

× Building wheel for pycocotools (pyproject.toml) did not run successfully.

│ exit code: 1

╰─> [23 lines of output]

  running bdist_wheel

  running build

  running build_py

  creating build

  creating build\lib.win-amd64-cpython-310

  creating build\lib.win-amd64-cpython-310\pycocotools

  copying pycocotools\coco.py -> build\lib.win-amd64-cpython-310\pycocotools

  copying pycocotools\cocoeval.py -> build\lib.win-amd64-cpython-310\pycocotools

  copying pycocotools\mask.py -> build\lib.win-amd64-cpython-310\pycocotools

  copying pycocotools\__init__.py -> build\lib.win-amd64-cpython-310\pycocotools

  running build_ext

  building 'pycocotools._mask' extension

  creating build\temp.win-amd64-cpython-310

  creating build\temp.win-amd64-cpython-310\Release

  creating build\temp.win-amd64-cpython-310\Release\common

  creating build\temp.win-amd64-cpython-310\Release\pycocotools

  "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD "-ID:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\numpy\core\include" -I./common "-ID:\tools\Stable diffusion\SD-webui-aki-v3\py310\include" "-ID:\tools\Stable diffusion\SD-webui-aki-v3\py310\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tc./common/maskApi.c /Fobuild\temp.win-amd64-cpython-310\Release\./common/maskApi.obj

  maskApi.c

  ./common/maskApi.c(151): warning C4101: \xa1\xb0xp\xa1\xb1: δ\xd2\xfd\xd3õľֲ\xbf\xb1\xe4\xc1\xbf

  "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD "-ID:\tools\Stable diffusion\SD-webui-aki-v3\py310\lib\site-packages\numpy\core\include" -I./common "-ID:\tools\Stable diffusion\SD-webui-aki-v3\py310\include" "-ID:\tools\Stable diffusion\SD-webui-aki-v3\py310\Include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /Tcpycocotools/_mask.c /Fobuild\temp.win-amd64-cpython-310\Release\pycocotools/_mask.obj

  _mask.c

  c1: fatal error C1083: \xce޷\xa8\xb4\xf2\xbf\xaaԴ\xceļ\xfe: \xa1\xb0pycocotools/_mask.c\xa1\xb1: No such file or directory

  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

ERROR: Failed building wheel for pycocotools

ERROR: Could not build wheels for pycocotools, which is required to install pyproject.toml-based projects

None GroundingDINO install failed. Please submit an issue to https://github.com/IDEA-Research/Grounded-Segment-Anything/issues.

已经使用了 uesed CUDA17.0 what's the problem? can someone help me?

rentainhe commented 1 year ago

Try using pycocotools-window instead of pycocotools. refer to https://github.com/cocodataset/cocoapi/issues/415

guytakeiteasy commented 1 year ago

Try using pycocotools-window instead of pycocotools. refer to cocodataset/cocoapi#415

thanks,I tried but get a same error :-(

YanXiaoAI commented 1 year ago

Try using pycocotools-window instead of pycocotools. refer to cocodataset/cocoapi#415

thanks,I tried but get a same error :-(

请问您解决了这个问题吗?

guytakeiteasy commented 1 year ago

我解决了,我在秋叶一键包的启动命令提示符功能中手动安装的 pycocotools 和 groundingdino,也就是将这两个包安装到秋叶的py310环境中,现在已经可以正常使用了:-) image

Ziord01 commented 1 year ago

666

YanXiaoAI commented 1 year ago

我解决了,我在秋叶一键包的启动命令提示符功能中手动安装的 pycocotools 和 groundingdino,也就是将这两个包安装到秋叶的py310环境中,现在已经可以正常使用了:-) image

具体的操作步骤方便说一下嘛?新手小白不知道该怎么手动安装,非常感谢~

mogaoyong commented 1 year ago

我解决了,我在秋叶一键包的启动命令提示符功能中手动安装的 pycocotools 和 groundingdino,也就是将这两个包安装到秋叶的py310环境中,现在已经可以正常使用了:-) image

求操作方法

guytakeiteasy commented 1 year ago

具体来说,就是先用“pip3 install pycocotools” 或 “python setup.py install” 命令把pycocotools 和 groundingdino这两个模块先给安装到秋叶的py310(我的是python3.10.8)环境中去,然后sd-webui-segment-anything插件在第一次使用关键词分割功能的时候就会自动的调用到了。

Ziord01 commented 1 year ago

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年5月6日(星期六) 上午9:54 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [IDEA-Research/Grounded-Segment-Anything] 秋叶整合包 install groundingdino error (Issue #208)

具体来说,就是先用“pip3 install pycocotools” 或 “python setup.py install” 命令把pycocotools 和 groundingdino这两个模块先给安装到秋叶的py310(我的是python3.10.8)环境中去,然后sd-webui-segment-anything插件在第一次使用关键词分割功能的时候就会自动的调用到了。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

guytakeiteasy commented 1 year ago

如果安装的CUDA tooltik是v11.8版本的,那么下面这个地方也要安装一下 image

waiting-ylm commented 1 year ago

“python setup.py install”命令显示下面这个

D:\sd-webui-aki\sd-webui-aki-v4>python setup.py install python: can't open file 'D:\sd-webui-aki\sd-webui-aki-v4\setup.py': [Errno 2] No such file or directory

waiting-ylm commented 1 year ago

“pip3 install pycocotools”命令出现了很多安装警告

D:\sd-webui-aki\sd-webui-aki-v4>pip3 install pycocotools Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple, https://pypi.tuna.tsinghua.edu.cn/simple, https://pypi.doubanio.com/simple Looking in links: https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html Collecting pycocotools Using cached https://pypi.doubanio.com/packages/ef/c6/90220be3b39fbc4cbd203775ca47dd8dc97fae06fbd2b500637395621b7c/pycocotools-2.0.6.tar.gz (24 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting numpy Downloading https://pypi.tuna.tsinghua.edu.cn/packages/65/5d/46da284b0bf6cfbf04082c3c5e84399664d69e41c11a33587ad49b0c64e5/numpy-1.24.3-cp310-cp310-win_amd64.whl (14.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.8/14.8 MB 26.1 MB/s eta 0:00:00 Collecting matplotlib>=2.1.0 Downloading https://pypi.doubanio.com/packages/07/76/fde990f131450f08eb06e50814b98d347b14d7916c0ec31cba0a65a9be2b/matplotlib-3.7.1-cp310-cp310-win_amd64.whl (7.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.6/7.6 MB 9.6 MB/s eta 0:00:00 Collecting python-dateutil>=2.7 Downloading https://pypi.doubanio.com/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB ? eta 0:00:00 Collecting contourpy>=1.0.1 Downloading https://pypi.doubanio.com/packages/b6/b8/6894c9e851f7442ebbc054537f56021c9ebc0691799ac4b92e380f3a2712/contourpy-1.0.7-cp310-cp310-win_amd64.whl (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 9.5 MB/s eta 0:00:00 Collecting pyparsing>=2.3.1 Downloading https://pypi.doubanio.com/packages/6c/10/a7d0fa5baea8fe7b50f448ab742f26f52b80bfca85ac2be9d35cdd9a3246/pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB ? eta 0:00:00 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Read timed out. (read timeout=8.0)")': /simple/packaging/ Collecting packaging>=20.0 Downloading https://pypi.doubanio.com/packages/ab/c3/57f0601a2d4fe15de7a553c00adbc901425661bf048f2a22dfc500caf121/packaging-23.1-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB ? eta 0:00:00 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/kiwisolver/ Collecting kiwisolver>=1.0.1 Downloading https://pypi.doubanio.com/packages/68/20/2ce1186ef4edf47281faf58f6dd72a1fcd2be1fc66514bd2d220097bdcd1/kiwisolver-1.4.4-cp310-cp310-win_amd64.whl (55 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.3/55.3 kB ? eta 0:00:00 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/fonttools/ Collecting fonttools>=4.22.0 Downloading https://pypi.doubanio.com/packages/16/07/1c7547e27f559ec078801d522cc4d5127cdd4ef8e831c8ddcd9584668a07/fonttools-4.39.3-py3-none-any.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 5.3 MB/s eta 0:00:00 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/cycler/ Collecting cycler>=0.10 Downloading https://pypi.doubanio.com/packages/5c/f9/695d6bedebd747e5eb0fe8fad57b72fdf25411273a39791cde838d5a8f51/cycler-0.11.0-py3-none-any.whl (6.4 kB) WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/pillow/ Collecting pillow>=6.2.0 Downloading https://pypi.doubanio.com/packages/3e/14/0030e542f2acfea43635e55584c114e6cfd94d342393a5f71f74c172dc35/Pillow-9.5.0-cp310-cp310-win_amd64.whl (2.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 20.0 MB/s eta 0:00:00 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/six/ Collecting six>=1.5 Downloading https://pypi.doubanio.com/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: pycocotools Building wheel for pycocotools (pyproject.toml) ... done Created wheel for pycocotools: filename=pycocotools-2.0.6-cp310-cp310-win_amd64.whl size=75901 sha256=95c267341c696285fbf2b09e519749596186b18aa9e385dd7626e8b7a0917ae4 Stored in directory: d:\sd-webui-aki\sd-webui-aki-v4.cache\pip\wheels\2f\b7\5f\8fe62607d6a9101125b56955cf577c988364e373b48b168b1a Successfully built pycocotools Installing collected packages: six, pyparsing, pillow, packaging, numpy, kiwisolver, fonttools, cycler, python-dateutil, contourpy, matplotlib, pycocotools Successfully installed contourpy-1.0.7 cycler-0.11.0 fonttools-4.39.3 kiwisolver-1.4.4 matplotlib-3.7.1 numpy-1.24.3 packaging-23.1 pillow-9.5.0 pycocotools-2.0.6 pyparsing-3.0.9 python-dateutil-2.8.2 six-1.16.0

guytakeiteasy commented 1 year ago

“python setup.py install”命令显示下面这个

D:\sd-webui-aki\sd-webui-aki-v4>python setup.py install python: can't open file 'D:\sd-webui-aki\sd-webui-aki-v4\setup.py': [Errno 2] No such file or directory

需要使用git下载(clone)groundingdino代码(zip包)并解压,然后使用cd命令进入到 groundingdino代码目录下面执行

waiting-ylm commented 1 year ago

python setup.py install

D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO>python setup.py install Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\setup.py", line 27, in import torch ModuleNotFoundError: No module named 'torch'

guytakeiteasy commented 1 year ago

“pip3 install pycocotools”命令出现了很多安装警告

D:\sd-webui-aki\sd-webui-aki-v4>pip3 install pycocotools Looking in indexes: https://mirrors.bfsu.edu.cn/pypi/web/simple, https://pypi.tuna.tsinghua.edu.cn/simple, https://pypi.doubanio.com/simple Looking in links: https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html Collecting pycocotools Using cached https://pypi.doubanio.com/packages/ef/c6/90220be3b39fbc4cbd203775ca47dd8dc97fae06fbd2b500637395621b7c/pycocotools-2.0.6.tar.gz (24 kB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting numpy Downloading https://pypi.tuna.tsinghua.edu.cn/packages/65/5d/46da284b0bf6cfbf04082c3c5e84399664d69e41c11a33587ad49b0c64e5/numpy-1.24.3-cp310-cp310-win_amd64.whl (14.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.8/14.8 MB 26.1 MB/s eta 0:00:00 Collecting matplotlib>=2.1.0 Downloading https://pypi.doubanio.com/packages/07/76/fde990f131450f08eb06e50814b98d347b14d7916c0ec31cba0a65a9be2b/matplotlib-3.7.1-cp310-cp310-win_amd64.whl (7.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.6/7.6 MB 9.6 MB/s eta 0:00:00 Collecting python-dateutil>=2.7 Downloading https://pypi.doubanio.com/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB ? eta 0:00:00 Collecting contourpy>=1.0.1 Downloading https://pypi.doubanio.com/packages/b6/b8/6894c9e851f7442ebbc054537f56021c9ebc0691799ac4b92e380f3a2712/contourpy-1.0.7-cp310-cp310-win_amd64.whl (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.0/163.0 kB 9.5 MB/s eta 0:00:00 Collecting pyparsing>=2.3.1 Downloading https://pypi.doubanio.com/packages/6c/10/a7d0fa5baea8fe7b50f448ab742f26f52b80bfca85ac2be9d35cdd9a3246/pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB ? eta 0:00:00 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.tuna.tsinghua.edu.cn', port=443): Read timed out. (read timeout=8.0)")': /simple/packaging/ Collecting packaging>=20.0 Downloading https://pypi.doubanio.com/packages/ab/c3/57f0601a2d4fe15de7a553c00adbc901425661bf048f2a22dfc500caf121/packaging-23.1-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.9/48.9 kB ? eta 0:00:00 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/kiwisolver/ Collecting kiwisolver>=1.0.1 Downloading https://pypi.doubanio.com/packages/68/20/2ce1186ef4edf47281faf58f6dd72a1fcd2be1fc66514bd2d220097bdcd1/kiwisolver-1.4.4-cp310-cp310-win_amd64.whl (55 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.3/55.3 kB ? eta 0:00:00 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/fonttools/ Collecting fonttools>=4.22.0 Downloading https://pypi.doubanio.com/packages/16/07/1c7547e27f559ec078801d522cc4d5127cdd4ef8e831c8ddcd9584668a07/fonttools-4.39.3-py3-none-any.whl (1.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 5.3 MB/s eta 0:00:00 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/cycler/ Collecting cycler>=0.10 Downloading https://pypi.doubanio.com/packages/5c/f9/695d6bedebd747e5eb0fe8fad57b72fdf25411273a39791cde838d5a8f51/cycler-0.11.0-py3-none-any.whl (6.4 kB) WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/pillow/ Collecting pillow>=6.2.0 Downloading https://pypi.doubanio.com/packages/3e/14/0030e542f2acfea43635e55584c114e6cfd94d342393a5f71f74c172dc35/Pillow-9.5.0-cp310-cp310-win_amd64.whl (2.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 20.0 MB/s eta 0:00:00 WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('_ssl.c:980: The handshake operation timed out'))': /simple/six/ Collecting six>=1.5 Downloading https://pypi.doubanio.com/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB) Building wheels for collected packages: pycocotools Building wheel for pycocotools (pyproject.toml) ... done Created wheel for pycocotools: filename=pycocotools-2.0.6-cp310-cp310-win_amd64.whl size=75901 sha256=95c267341c696285fbf2b09e519749596186b18aa9e385dd7626e8b7a0917ae4 Stored in directory: d:\sd-webui-aki\sd-webui-aki-v4.cache\pip\wheels\2f\b7\5f\8fe62607d6a9101125b56955cf577c988364e373b48b168b1a Successfully built pycocotools Installing collected packages: six, pyparsing, pillow, packaging, numpy, kiwisolver, fonttools, cycler, python-dateutil, contourpy, matplotlib, pycocotools Successfully installed contourpy-1.0.7 cycler-0.11.0 fonttools-4.39.3 kiwisolver-1.4.4 matplotlib-3.7.1 numpy-1.24.3 packaging-23.1 pillow-9.5.0 pycocotools-2.0.6 pyparsing-3.0.9 python-dateutil-2.8.2 six-1.16.0

出现很多警告可能是由于安装源下载时候网络不稳,可以多试几遍,或者使用其他镜像安装源来代替,比如使用豆瓣源或者清华源之类的都可以

阿里云:​ ​https://mirrors.aliyun.com/pypi/simple/​​ 清华:​ ​https://pypi.tuna.tsinghua.edu.cn/simple​​ 中国科技大学​ ​https://pypi.mirrors.ustc.edu.cn/simple/​​ 华中理工大学:​ ​http://pypi.hustunique.com/​​ 山东理工大学:​ ​http://pypi.sdutlinux.org/​​ 豆瓣:​ ​http://pypi.douban.com/simple/

以清华源为例: 命令使用:pip3 install pycocotools -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn

waiting-ylm commented 1 year ago

python setup.py install

D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main>python setup.py install Building wheel groundingdino-0.1.0 Compiling with CUDA running install D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing groundingdino.egg-info\PKG-INFO writing dependency_links to groundingdino.egg-info\dependency_links.txt writing requirements to groundingdino.egg-info\requires.txt writing top-level names to groundingdino.egg-info\top_level.txt D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) reading manifest file 'groundingdino.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'groundingdino.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py copying groundingdino\version.py -> build\lib.win-amd64-cpython-310\groundingdino running build_ext D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'groundingdino._C' extension "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\groundingdino\models\GroundingDINO\csrc -ID:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include -ID:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\torch\csrc\api\include -ID:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\TH -ID:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -ID:\sd-webui-aki\sd-webui-aki-v4\py310\include -ID:\sd-webui-aki\sd-webui-aki-v4\py310\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /EHsc /TpD:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cpu.cpp /Fobuild\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cpu.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 ms_deform_attn_cpu.cpp D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/macros/Macros.h(138): warning C4067: 预处理器 指令后有意外标记 - 应输入换行符 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::SymInt ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::SymInt ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::SymInt ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::SymInt ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/TensorImpl.h(1605): note: 查看对正在编译 的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::SymInt ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::string ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::string ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::string ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::string ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type_base.h(452): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::string ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::QualifiedName ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::QualifiedName ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::QualifiedName ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::QualifiedName ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type_base.h(700): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::QualifiedName ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::TensorBase ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::TensorBase ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::TensorBase ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::TensorBase ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/TensorBase.h(933): note: 查看对正在编译 的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::TensorBase ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::Tensor ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::Tensor ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::Tensor ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::Tensor ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/TensorBody.h(518): note: 查看对正在编译 的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::Tensor ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::Generator ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::Generator ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::Generator ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::Generator ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/TensorBody.h(597): note: 查看对正在编译 的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::Generator ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::Scalar ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::Scalar ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::Scalar ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::Scalar ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/TensorBody.h(628): note: 查看对正在编译 的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::Scalar ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::shared_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::shared_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::shared_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::shared_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/ivalue.h(1437): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::shared_ptr>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::shared_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::weak_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::weak_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::weak_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::weak_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/ivalue.h(1438): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::weak_ptr>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::weak_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(484): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<c10::ShapeSymbol,std::allocator>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<bool,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<bool,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<bool,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<bool,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(443): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<bool,std::allocator>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<bool,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(569): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<c10::optional,std::allocator<c10::optional>>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(845): note: 查看对正在编译的 类 模板 实例化“c10::VaryingShape”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(569): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<c10::optional,std::allocator<c10::optional>>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(615): note: 查看对正在编译的 类 模板 实例化“c10::VaryingShape”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<int64_t,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<int64_t,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<int64_t,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<int64_t,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(728): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<int64_t,std::allocator>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<int64_t,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineDeviceGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::InlineDeviceGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::InlineDeviceGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::InlineDeviceGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(427): note: 查看对正在编译的 类 模板 实例化“c10::optional<c10::impl::InlineDeviceGuard>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/DeviceGuard.h(178): note: 查看对正在编译 的 类 模板 实例化“c10::impl::InlineOptionalDeviceGuard”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineDeviceGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineStreamGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::InlineStreamGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::InlineStreamGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::InlineStreamGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(197): note: 查看对正在编译的 类 模板 实例化“c10::optional<c10::impl::InlineStreamGuard>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/StreamGuard.h(139): note: 查看对正在编译 的 类 模板 实例化“c10::impl::InlineOptionalStreamGuard”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineStreamGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(232): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/StreamGuard.h(162): note: 查看对正在编译 的 类 模板 实例化“c10::impl::InlineMultiStreamGuard”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(884): note: 查看对正在编译 的 类 模板 实例化“c10::optional<std::vector<c10::ivalue::Future::WeakStorage,std::allocator>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::DimVector ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::DimVector ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::DimVector ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::DimVector ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/TensorIterator.h(918): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::DimVector ] D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cpu.cpp : fatal error C1083: 无法打开编译器生成的文件: “”: Invalid argument error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 1

waiting-ylm commented 1 year ago

pip3 install pycocotools -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn

D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main>pip3 install pycocotools -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple, https://pypi.tuna.tsinghua.edu.cn/simple, https://pypi.doubanio.com/simple Looking in links: https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html Requirement already satisfied: pycocotools in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (2.0.6) Requirement already satisfied: matplotlib>=2.1.0 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from pycocotools) (3.7.1) Requirement already satisfied: numpy in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from pycocotools) (1.24.3) Requirement already satisfied: pillow>=6.2.0 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (9.5.0) Requirement already satisfied: pyparsing>=2.3.1 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (3.0.9) Requirement already satisfied: contourpy>=1.0.1 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (1.0.7) Requirement already satisfied: fonttools>=4.22.0 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (4.39.3) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (1.4.4) Requirement already satisfied: cycler>=0.10 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (0.11.0) Requirement already satisfied: packaging>=20.0 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (23.1) Requirement already satisfied: python-dateutil>=2.7 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (2.8.2) Requirement already satisfied: six>=1.5 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from python-dateutil>=2.7->matplotlib>=2.1.0->pycocotools) (1.16.0)

这样是成功了吗

1033654804 commented 1 year ago

大佬,这个办法是不是要有代码基础才能操作?纯代码小白可以办到吗。 “需要使用git下载(clone)groundingdino代码(zip包)并解压,然后使用cd命令进入到 groundingdino代码目录下面执行” 这一步,我去GIT搜,结果搜出一堆groundingdino的代码,是复制粘贴到“启动命令提示符”里面再启动就行吗

guytakeiteasy commented 1 year ago

pip3 install pycocotools -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn

D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main>pip3 install pycocotools -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple, https://pypi.tuna.tsinghua.edu.cn/simple, https://pypi.doubanio.com/simple Looking in links: https://mirror.sjtu.edu.cn/pytorch-wheels/torch_stable.html Requirement already satisfied: pycocotools in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (2.0.6) Requirement already satisfied: matplotlib>=2.1.0 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from pycocotools) (3.7.1) Requirement already satisfied: numpy in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from pycocotools) (1.24.3) Requirement already satisfied: pillow>=6.2.0 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (9.5.0) Requirement already satisfied: pyparsing>=2.3.1 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (3.0.9) Requirement already satisfied: contourpy>=1.0.1 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (1.0.7) Requirement already satisfied: fonttools>=4.22.0 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (4.39.3) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (1.4.4) Requirement already satisfied: cycler>=0.10 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (0.11.0) Requirement already satisfied: packaging>=20.0 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (23.1) Requirement already satisfied: python-dateutil>=2.7 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from matplotlib>=2.1.0->pycocotools) (2.8.2) Requirement already satisfied: six>=1.5 in c:\users\administrator\appdata\local\programs\python\python310\lib\site-packages (from python-dateutil>=2.7->matplotlib>=2.1.0->pycocotools) (1.16.0)

这样是成功了吗

是的

guytakeiteasy commented 1 year ago

大佬,这个办法是不是要有代码基础才能操作?纯代码小白可以办到吗。 “需要使用git下载(clone)groundingdino代码(zip包)并解压,然后使用cd命令进入到 groundingdino代码目录下面执行” 这一步,我去GIT搜,结果搜出一堆groundingdino的代码,是复制粘贴到“启动命令提示符”里面再启动就行吗

这个不需要代码基础,点击download下载解压即可,cd是windows命令提示符用来打开相应的文件路径的,这个百度一下吧,不是很难,这个意思是在命令提示符下进入到你下载的groundingdino代码文件夹内,执行python setup install编译安装命令,来给秋叶整合包的phyon安装上这个软件,下载代码位置参考下图的网址:

1
waiting-ylm commented 1 year ago

大佬 CD进入了 然后使用cd命令进入到groundingdino代码目录下面执行 还是报这样的错误怎么办 D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main>python setup.py install Building wheel groundingdino-0.1.0 Compiling with CUDA running install D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing groundingdino.egg-info\PKG-INFO writing dependency_links to groundingdino.egg-info\dependency_links.txt writing requirements to groundingdino.egg-info\requires.txt writing top-level names to groundingdino.egg-info\top_level.txt D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.')) reading manifest file 'groundingdino.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'groundingdino.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py copying groundingdino\version.py -> build\lib.win-amd64-cpython-310\groundingdino running build_ext D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'groundingdino._C' extension "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWITH_CUDA -ID:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\groundingdino\models\GroundingDINO\csrc -ID:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include -ID:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\torch\csrc\api\include -ID:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\TH -ID:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include" -ID:\sd-webui-aki\sd-webui-aki-v4\py310\include -ID:\sd-webui-aki\sd-webui-aki-v4\py310\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /EHsc /TpD:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cpu.cpp /Fobuild\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cpu.obj /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /EHsc -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 ms_deform_attn_cpu.cpp D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/macros/Macros.h(138): warning C4067: 预处理器 指令后有意外标记 - 应输入换行符 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::SymInt ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::SymInt ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::SymInt ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::SymInt ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/TensorImpl.h(1605): note: 查看对正在编译 的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::SymInt ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::string ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::string ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::string ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::string ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type_base.h(452): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::string ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::QualifiedName ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::QualifiedName ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::QualifiedName ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::QualifiedName ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type_base.h(700): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::QualifiedName ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::TensorBase ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::TensorBase ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::TensorBase ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::TensorBase ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/TensorBase.h(933): note: 查看对正在编译 的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::TensorBase ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::Tensor ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::Tensor ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::Tensor ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::Tensor ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/TensorBody.h(518): note: 查看对正在编译 的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::Tensor ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::Generator ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::Generator ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::Generator ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::Generator ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/TensorBody.h(597): note: 查看对正在编译 的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::Generator ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::Scalar ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::Scalar ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::Scalar ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::Scalar ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/TensorBody.h(628): note: 查看对正在编译 的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::Scalar ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::shared_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::shared_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::shared_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::shared_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/ivalue.h(1437): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::shared_ptr>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::shared_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::weak_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::weak_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::weak_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::weak_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/ivalue.h(1438): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::weak_ptr>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::weak_ptr ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(484): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<c10::ShapeSymbol,std::allocator>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<bool,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<bool,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<bool,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<bool,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(443): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<bool,std::allocator>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<bool,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(569): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<c10::optional,std::allocator<c10::optional>>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(845): note: 查看对正在编译的 类 模板 实例化“c10::VaryingShape”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(569): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<c10::optional,std::allocator<c10::optional>>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(615): note: 查看对正在编译的 类 模板 实例化“c10::VaryingShape”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<int64_t,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<int64_t,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<int64_t,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<int64_t,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/jit_type.h(728): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::vector<int64_t,std::allocator>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<int64_t,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineDeviceGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::InlineDeviceGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::InlineDeviceGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::InlineDeviceGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/impl/InlineDeviceGuard.h(427): note: 查看对正在编译的 类 模板 实例化“c10::optional<c10::impl::InlineDeviceGuard>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/DeviceGuard.h(178): note: 查看对正在编译 的 类 模板 实例化“c10::impl::InlineOptionalDeviceGuard”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineDeviceGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineStreamGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::InlineStreamGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::InlineStreamGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::InlineStreamGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(197): note: 查看对正在编译的 类 模板 实例化“c10::optional<c10::impl::InlineStreamGuard>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/StreamGuard.h(139): note: 查看对正在编译 的 类 模板 实例化“c10::impl::InlineOptionalStreamGuard”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineStreamGuard ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/impl/InlineStreamGuard.h(232): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/core/StreamGuard.h(162): note: 查看对正在编译 的 类 模板 实例化“c10::impl::InlineMultiStreamGuard”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::VirtualGuardImpl ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/core/ivalue_inl.h(884): note: 查看对正在编译 的 类 模板 实例化“c10::optional<std::vector<c10::ivalue::Future::WeakStorage,std::allocator>>”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ivalue::Future::WeakStorage,std::allocator> ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::DimVector ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::DimVector ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::DimVector ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::DimVector ] D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\ATen/TensorIterator.h(918): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::DimVector ] D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cpu.cpp : fatal error C1083: 无法打开编译器生成的文件: “”: Invalid argument error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 1

guytakeiteasy commented 1 year ago

torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。

根据提示,安装groundingdino的时候需要先编译再安装,编译的时候需要有visual studio2022的C++编译工具,可以下载安装,安装方法如下所示: image

waiting-ylm commented 1 year ago

torch\utils\cpp_extension.py:359: UserWarning: E​​rror checking compiler version for cl: [WinError 2] 系统找不到指定的文件。

根据提示,安装groundingdino的时候需要先编译再安装,编译的时候需要有visual studio2022的C++编译工具,可以下载安装,安装方法如下所示说明: 图像

image

这个我安装过了 是安装的有问题嘛

guytakeiteasy commented 1 year ago

torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。

根据提示,安装groundingdino的时候需要先编译再安装,编译的时候需要有visual studio2022的C++编译工具,可以下载安装,安装方法如下所示: image

另外,检查一下你是否安装CUDA tooktik 11.8,并且配置了环境变量 image image

waiting-ylm commented 1 year ago

torch\utils\cpp_extension.py:359: UserWarning: E​​rror checking compiler version for cl: [WinError 2] 系统找不到指定的文件。

根据提示,安装groundingdino的时候需要先编译再安装,编译的时候需要有visual studio2022的C++编译工具,可以下载安装,安装方法如下所示说明:图像

另外,检查一下你是否安装CUDA tokettik 11.8,并配置了环境变化 图像 图像

安装CUDA tokettik 11.8 但是不知道怎么配置环境变量

guytakeiteasy commented 1 year ago

image

waiting-ylm commented 1 year ago

图像

image

是选择哪个文件

guytakeiteasy commented 1 year ago

图像

image

是选择哪个文件 填上下面这个路径就可以了 image C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8

Ziord01 commented 1 year ago

敢问一下你们安装GroundingDINO在SD哪个界面?

guytakeiteasy commented 1 year ago

敢问一下你们安装GroundingDINO在SD哪个界面?

我的是集成在sd-webui-segment-anything 这个里面的使用的,在文生图,图生图等里面都有

image image

waiting-ylm commented 1 year ago

python setup.py install

image

已经新增环境变量 并且重启电脑 但是还是报同样的错

Ziord01 commented 1 year ago

好的好的, @guytakeiteasy

guytakeiteasy commented 1 year ago

python setup.py install

image

已经新增环境变量 并且重启电脑 但是还是报同样的错

我仔细看了一下你上面报错的输出,貌似你没有安装ninja,这个需要安装并设置环境变量才能找到

D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.'))

Ziord01 commented 1 year ago

可以建个小群么,咱们聊聊hahaha

guytakeiteasy commented 1 year ago

python setup.py install

image

已经新增环境变量 并且重启电脑 但是还是报同样的错

我仔细看了一下你上面报错的输出,貌似你没有安装ninja,这个需要安装并设置环境变量才能找到

D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend. warnings.warn(msg.format('we could not find ninja.'))

image

waiting-ylm commented 1 year ago

ninja

可以有

python setup.py 安装

图像

已经新增加环境变化并重新启动电脑但还是报同样的错误

我仔仔细看了下你上面报错的输出,貌似你没有装ninja,这个需要装并设置环境变量才能找到

D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend 但我们找不到忍者 .. 回到使用缓慢的 distutils 后端。 warnings.warn(msg.format('我们找不到忍者。'))

图像

我是没有这个装 ninja 这个,大佬这个要怎么安装

guytakeiteasy commented 1 year ago

ninja

可以有

python setup.py 安装

图像

已经新增加环境变化并重新启动电脑但还是报同样的错误

我仔仔细看了下你上面报错的输出,貌似你没有装ninja,这个需要装并设置环境变量才能找到

D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:476: UserWarning: Attempted to use ninja as the BuildExtension backend 但我们找不到忍者 .. 回到使用缓慢的 distutils 后端。 warnings.warn(msg.format('我们找不到忍者。'))

图像

我是没有这个装 ninja 这个,大佬这个要怎么安装

需要先下载和安装git,然后可以在任意目录下做如下操作(下载并编译ninja): git clone git://github.com/ninja-build/ninja.git && cd ninja

git checkout release

python configure.py --bootstrap

最后就是把编译出来的ninja.exe文件所在的路径追加到系统的Path环境变量中

waiting-ylm commented 1 year ago

python configure.py --bootstrap

image

大佬我git拉不下来 直接下载的包 然后编译还是报错 D:\sd-webui-aki\ninja-master>python configure.py --bootstrap bootstrapping ninja... Traceback (most recent call last): File "D:\sd-webui-aki\ninja-master\configure.py", line 317, in raise Exception('cl.exe not found. Run again from the Developer Command Prompt for VS') Exception: cl.exe not found. Run again from the Developer Command Prompt for VS

guytakeiteasy commented 1 year ago

python configure.py --bootstrap

image

大佬我git拉不下来 直接下载的包 然后编译还是报错 D:\sd-webui-aki\ninja-master>python configure.py --bootstrap bootstrapping ninja... Traceback (most recent call last): File "D:\sd-webui-aki\ninja-master\configure.py", line 317, in raise Exception('cl.exe not found. Run again from the Developer Command Prompt for VS') Exception: cl.exe not found. Run again from the Developer Command Prompt for VS

image

waiting-ylm commented 1 year ago

python configure.py --bootstrap

image

大佬我git拉不下来 直接下载的包 然后编译还是报错 D:\sd-webui-aki\ninja-master>python configure.py --bootstrap bootstrapping ninja... Traceback (most recent call last): File "D:\sd-webui-aki\ninja-master\configure.py", line 317, in raise Exception('cl.exe not found. Run again from the Developer Command Prompt for VS') Exception: cl.exe not found. Run again from the Developer Command Prompt for VS

image

大佬安装和配置成功了 然后到droundingding里面报新的错误 D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main>python setup.py install Building wheel groundingdino-0.1.0 Compiling with CUDA running install D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing groundingdino.egg-info\PKG-INFO writing dependency_links to groundingdino.egg-info\dependency_links.txt writing requirements to groundingdino.egg-info\requires.txt writing top-level names to groundingdino.egg-info\top_level.txt reading manifest file 'groundingdino.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'groundingdino.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py copying groundingdino\version.py -> build\lib.win-amd64-cpython-310\groundingdino running build_ext D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'groundingdino._C' extension Emitting ninja build file D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\build\temp.win-amd64-cpython-310\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) ninja: error: Stat(D:/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/build/temp.win-amd64-cpython-310/Release/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.obj): Filename longer than 260 characters Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build subprocess.run( File "subprocess.py", line 526, in run subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\setup.py", line 192, in setup( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools__init__.py", line 108, in setup return distutils.core.setup(**attrs) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 185, in setup return run_commands(dist) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands dist.run_commands() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 74, in run self.do_egg_install() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command self.run_command(cmdname) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run self.build_extensions() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions build_ext.build_extensions(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects _run_ninja_build( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

waiting-ylm commented 1 year ago
image image
guytakeiteasy commented 1 year ago

ninja: error: Stat(D:/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/build/temp.win-amd64-cpython-310/Release/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.obj): Filename longer than 260 characters

你这个路径太长了,超过windows最大限制260个字符了,可以考虑去掉一些目录,比如sd-webui-aki 和 sd-webui-aki-v4保留一层就好了,然后GroundingDINO-main改短一点,比如改成GroundingDINO就行了,总之要限制到260字符以内

At 2023-05-06 15:53:03, "waiting-ylm" @.***> wrote:

python configure.py --bootstrap

大佬我git拉不下来 直接下载的包 然后编译还是报错 D:\sd-webui-aki\ninja-master>python configure.py --bootstrap bootstrapping ninja... Traceback (most recent call last): File "D:\sd-webui-aki\ninja-master\configure.py", line 317, in raise Exception('cl.exe not found. Run again from the Developer Command Prompt for VS') Exception: cl.exe not found. Run again from the Developer Command Prompt for VS

大佬安装和配置成功了 然后到droundingding里面报新的错误 D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main>python setup.py install Building wheel groundingdino-0.1.0 Compiling with CUDA running install D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing groundingdino.egg-info\PKG-INFO writing dependency_links to groundingdino.egg-info\dependency_links.txt writing requirements to groundingdino.egg-info\requires.txt writing top-level names to groundingdino.egg-info\top_level.txt reading manifest file 'groundingdino.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'groundingdino.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py copying groundingdino\version.py -> build\lib.win-amd64-cpython-310\groundingdino running build_ext D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'groundingdino._C' extension Emitting ninja build file D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\build\temp.win-amd64-cpython-310\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) ninja: error: Stat(D:/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/build/temp.win-amd64-cpython-310/Release/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.obj): Filename longer than 260 characters Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build subprocess.run( File "subprocess.py", line 526, in run subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\setup.py", line 192, in setup( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptoolsinit.py", line 108, in setup return distutils.core.setup(**attrs) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 185, in setup return run_commands(dist) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands dist.run_commands() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 74, in run self.do_egg_install() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command self.run_command(cmdname) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run self.build_extensions() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions build_ext.build_extensions(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects _run_ninja_build( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

guytakeiteasy commented 1 year ago

或者改下注册表,取消widows 260字符限制试试

At 2023-05-06 15:53:03, "waiting-ylm" @.***> wrote:

python configure.py --bootstrap

大佬我git拉不下来 直接下载的包 然后编译还是报错 D:\sd-webui-aki\ninja-master>python configure.py --bootstrap bootstrapping ninja... Traceback (most recent call last): File "D:\sd-webui-aki\ninja-master\configure.py", line 317, in raise Exception('cl.exe not found. Run again from the Developer Command Prompt for VS') Exception: cl.exe not found. Run again from the Developer Command Prompt for VS

大佬安装和配置成功了 然后到droundingding里面报新的错误 D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main>python setup.py install Building wheel groundingdino-0.1.0 Compiling with CUDA running install D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing groundingdino.egg-info\PKG-INFO writing dependency_links to groundingdino.egg-info\dependency_links.txt writing requirements to groundingdino.egg-info\requires.txt writing top-level names to groundingdino.egg-info\top_level.txt reading manifest file 'groundingdino.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'groundingdino.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py copying groundingdino\version.py -> build\lib.win-amd64-cpython-310\groundingdino running build_ext D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'groundingdino._C' extension Emitting ninja build file D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\build\temp.win-amd64-cpython-310\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) ninja: error: Stat(D:/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/build/temp.win-amd64-cpython-310/Release/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.obj): Filename longer than 260 characters Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build subprocess.run( File "subprocess.py", line 526, in run subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\setup.py", line 192, in setup( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptoolsinit.py", line 108, in setup return distutils.core.setup(**attrs) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 185, in setup return run_commands(dist) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands dist.run_commands() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 74, in run self.do_egg_install() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command self.run_command(cmdname) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run self.build_extensions() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions build_ext.build_extensions(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects _run_ninja_build( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

waiting-ylm commented 1 year ago

或者改下注册表,取消widows 260字符限制试试 At 2023-05-06 15:53:03, "waiting-ylm" @.*> wrote: python configure.py --bootstrap 大佬我git拉不下来 直接下载的包 然后编译还是报错 D:\sd-webui-aki\ninja-master>python configure.py --bootstrap bootstrapping ninja... Traceback (most recent call last): File "D:\sd-webui-aki\ninja-master\configure.py", line 317, in raise Exception('cl.exe not found. Run again from the Developer Command Prompt for VS') Exception: cl.exe not found. Run again from the Developer Command Prompt for VS 大佬安装和配置成功了 然后到droundingding里面报新的错误 D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main>python setup.py install Building wheel groundingdino-0.1.0 Compiling with CUDA running install D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing groundingdino.egg-info\PKG-INFO writing dependency_links to groundingdino.egg-info\dependency_links.txt writing requirements to groundingdino.egg-info\requires.txt writing top-level names to groundingdino.egg-info\top_level.txt reading manifest file 'groundingdino.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'groundingdino.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py copying groundingdino\version.py -> build\lib.win-amd64-cpython-310\groundingdino running build_ext D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'groundingdino._C' extension Emitting ninja build file D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\build\temp.win-amd64-cpython-310\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) ninja: error: Stat(D:/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/build/temp.win-amd64-cpython-310/Release/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.obj): Filename longer than 260 characters Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build subprocess.run( File "subprocess.py", line 526, in run subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\setup.py", line 192, in setup( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptoolsinit.py", line 108, in setup return distutils.core.setup(*attrs) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 185, in setup return run_commands(dist) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands dist.run_commands() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 74, in run self.do_egg_install() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command self.run_command(cmdname) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run self.build_extensions() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions build_ext.build_extensions(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects _run_ninja_build( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

大佬 修改了路径 这个报错更长了 【D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO】

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(331): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v1<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=4U]" (1094): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(331): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v1<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=8U]" (1116): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(331): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v1<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=16U]" (1138): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(331): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v1<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=32U]" (1160): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(436): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v2<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=64U]" (1182): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(436): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v2<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=128U]" (1204): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(436): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v2<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=256U]" (1226): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(436): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v2<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=512U]" (1248): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(436): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v2<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=1024U]" (1270): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(544): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_reduce_v1(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" (1294): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(649): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_reduce_v2(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" (1317): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

ms_deform_attn_cuda.cu D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::SymInt ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::SymInt ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::SymInt ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::SymInt ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/TensorImpl.h(1602): note: 查看对正在编译的 类 模板 实 例化“c10::optional”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::SymInt ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type_base.h(452): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::basic_string<char,std::char_traits,std::allocator>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::QualifiedName ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::QualifiedName ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::QualifiedName ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::QualifiedName ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type_base.h(700): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::QualifiedName ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::TensorBase ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::TensorBase ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::TensorBase ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::TensorBase ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/TensorBase.h(933): note: 查看对正在编译的 类 模板 实 例化“c10::optional”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::TensorBase ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::Tensor ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::Tensor ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::Tensor ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::Tensor ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/TensorBody.h(518): note: 查看对正在编译的 类 模板 实 例化“c10::optional”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::Tensor ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::Generator ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::Generator ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::Generator ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::Generator ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/TensorBody.h(597): note: 查看对正在编译的 类 模板 实 例化“c10::optional”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::Generator ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::Scalar ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::Scalar ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::Scalar ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::Scalar ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/TensorBody.h(628): note: 查看对正在编译的 类 模板 实 例化“c10::optional”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::Scalar ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::shared_ptr ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::shared_ptr ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::shared_ptr ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::shared_ptr ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/ivalue.h(1437): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::shared_ptr>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::shared_ptr ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::weak_ptr ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::weak_ptr ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::weak_ptr ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::weak_ptr ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/ivalue.h(1438): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::weak_ptr>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::weak_ptr ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(484): note: 查看对正在编译的 类 模板 实例 化“c10::optional<std::vector<c10::ShapeSymbol,std::allocator>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ShapeSymbol,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<bool,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<bool,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<bool,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<bool,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(443): note: 查看对正在编译的 类 模板 实例 化“c10::optional<std::vector<bool,std::allocator>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<bool,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(569): note: 查看对正在编译的 类 模板 实例 化“c10::optional<std::vector<c10::optional,std::allocator<c10::optional>>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(845): note: 查看对正在编译的 类 模板 实例 化“c10::VaryingShape”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional,std::allocator<c10::optional>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(569): note: 查看对正在编译的 类 模板 实例 化“c10::optional<std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(615): note: 查看对正在编译的 类 模板 实例 化“c10::VaryingShape<__int64>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<int64,std::allocator<int64>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<int64,std::allocator<int64>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<int64,std::allocator<int64>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<int64,std::allocator<int64>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(728): note: 查看对正在编译的 类 模板 实例 化“c10::optional<std::vector<int64,std::allocator<int64>>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<int64,std::allocator<int64>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineDeviceGuard ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::InlineDeviceGuard ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::InlineDeviceGuard ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::InlineDeviceGuard ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(427): note: 查看对正在编译的 类 模板 实例化“c10::optional<c10::impl::InlineDeviceGuard>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/DeviceGuard.h(178): note: 查看对正在编译的 类 模板 实 例化“c10::impl::InlineOptionalDeviceGuard”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineDeviceGuard ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineStreamGuard ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::InlineStreamGuard ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::InlineStreamGuard ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::InlineStreamGuard ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(197): note: 查看对正在编译的 类 模板 实例化“c10::optional<c10::impl::InlineStreamGuard>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/StreamGuard.h(139): note: 查看对正在编译的 类 模板 实 例化“c10::impl::InlineOptionalStreamGuard”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineStreamGuard ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(232): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/StreamGuard.h(162): note: 查看对正在编译的 类 模板 实 例化“c10::impl::InlineMultiStreamGuard”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(884): note: 查看对正在编译的 类 模板 实 例化“c10::optional<std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>,std::allocator<c10::weak_intrusive_ptr<TTarget,c10::detail::intrusive_target_default_null_type>>>>”的引用 with [ TTarget=c10::StorageImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::SmallVector<int64,5> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::SmallVector<int64,5> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::SmallVector<int64,5> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::SmallVector<int64,5> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/TensorIterator.h(918): note: 查看对正在编译的 类 模板 实例化“c10::optional<c10::SmallVector<int64,5>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::SmallVector<int64,5> ] ninja: build stopped: subcommand failed. Traceback (most recent call last): File "D:\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build subprocess.run( File "subprocess.py", line 526, in run subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\setup.py", line 192, in setup( File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools__init__.py", line 108, in setup return distutils.core.setup(**attrs) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 185, in setup return run_commands(dist) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands dist.run_commands() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 74, in run self.do_egg_install() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command self.run_command(cmdname) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run self.build_extensions() File "D:\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions build_ext.build_extensions(self) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "D:\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "D:\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects _run_ninja_build( File "D:\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

waiting-ylm commented 1 year ago

image 字符限制也修改了

guytakeiteasy commented 1 year ago

不太看得懂哎,你的显卡驱动会不会和CUDA tooktik不匹配啊?我没遇到过这些错误,你更新下显卡驱动再试试呢

在 2023-05-06 16:43:40,"waiting-ylm" @.***> 写道:

或者改下注册表,取消widows 260字符限制试试 At 2023-05-06 15:53:03, "waiting-ylm" @.**> wrote: python configure.py --bootstrap 大佬我git拉不下来 直接下载的包 然后编译还是报错 D:\sd-webui-aki\ninja-master>python configure.py --bootstrap bootstrapping ninja... Traceback (most recent call last): File "D:\sd-webui-aki\ninja-master\configure.py", line 317, in raise Exception('cl.exe not found. Run again from the Developer Command Prompt for VS') Exception: cl.exe not found. Run again from the Developer Command Prompt for VS 大佬安装和配置成功了 然后到droundingding里面报新的错误 D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main>python setup.py install Building wheel groundingdino-0.1.0 Compiling with CUDA running install D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing groundingdino.egg-info\PKG-INFO writing dependency_links to groundingdino.egg-info\dependency_links.txt writing requirements to groundingdino.egg-info\requires.txt writing top-level names to groundingdino.egg-info\top_level.txt reading manifest file 'groundingdino.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'groundingdino.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py copying groundingdino\version.py -> build\lib.win-amd64-cpython-310\groundingdino running build_ext D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'groundingdino._C' extension Emitting ninja build file D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\build\temp.win-amd64-cpython-310\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) ninja: error: Stat(D:/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/build/temp.win-amd64-cpython-310/Release/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO-main/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.obj): Filename longer than 260 characters Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1893, in run_ninja_build subprocess.run( File "subprocess.py", line 526, in run subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO-main\setup.py", line 192, in setup( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_init.py", line 108, in setup return distutils.core.setup(attrs) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 185, in setup return run_commands(dist) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands dist.run_commands() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 74, in run self.do_egg_install() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command self.run_command(cmdname) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run self.build_extensions() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions build_ext.build_extensions(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects _run_ninja_build( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.>

大佬 修改了路径 这个报错更长了 【D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO】

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(331): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v1<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=4U]" (1094): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(331): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v1<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=8U]" (1116): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(331): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v1<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=16U]" (1138): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(331): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v1<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=32U]" (1160): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(436): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v2<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=64U]" (1182): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(436): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v2<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=128U]" (1204): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(436): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v2<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=256U]" (1226): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(436): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v2<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=512U]" (1248): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(436): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_blocksize_aware_reduce_v2<scalar_t,blockSize>(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float, blockSize=1024U]" (1270): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(544): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_reduce_v1(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" (1294): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_im2col_cuda.cuh(649): warning #177-D: variable "q_col" was declared but never referenced detected during: instantiation of "void ms_deformable_col2im_gpu_kernel_shm_reduce_v2(int, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" (1317): here instantiation of "void ms_deformable_col2im_cuda(cudaStream_t, const scalar_t , const scalar_t , const int64_t , const int64_t , const scalar_t , const scalar_t , int, int, int, int, int, int, int, scalar_t , scalar_t , scalar_t ) [with scalar_t=float]" D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn\ms_deform_attn_cuda.cu(135): here

ms_deform_attn_cuda.cu D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::SymInt ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::SymInt ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::SymInt ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::SymInt ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/TensorImpl.h(1602): note: 查看对正在编译的 类 模板 实 例化“c10::optionalc10::SymInt”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::SymInt ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type_base.h(452): note: 查看对正在编译的 类 模板 实例化“c10::optional<std::basic_string<char,std::char_traits,std::allocator>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::basic_string<char,std::char_traits,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::QualifiedName ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::QualifiedName ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::QualifiedName ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::QualifiedName ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type_base.h(700): note: 查看对正在编译的 类 模板 实例化“c10::optionalc10::QualifiedName”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::QualifiedName ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::TensorBase ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::TensorBase ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::TensorBase ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::TensorBase ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/TensorBase.h(933): note: 查看对正在编译的 类 模板 实 例化“c10::optionalat::TensorBase”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::TensorBase ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::Tensor ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::Tensor ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::Tensor ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::Tensor ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/TensorBody.h(518): note: 查看对正在编译的 类 模板 实 例化“c10::optionalat::Tensor”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::Tensor ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=at::Generator ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=at::Generator ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=at::Generator ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=at::Generator ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/TensorBody.h(597): note: 查看对正在编译的 类 模板 实 例化“c10::optionalat::Generator”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=at::Generator ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::Scalar ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::Scalar ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::Scalar ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::Scalar ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/TensorBody.h(628): note: 查看对正在编译的 类 模板 实 例化“c10::optionalc10::Scalar”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::Scalar ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/ivalue.h(1437): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::shared_ptrtorch::jit::CompilationUnit ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/ivalue.h(1438): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::weak_ptrtorch::jit::CompilationUnit ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(484): note: 查看对正在编译的 类 模板 实例 化“c10::optional<std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::ShapeSymbol,std::allocatorc10::ShapeSymbol> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<bool,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<bool,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<bool,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<bool,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(443): note: 查看对正在编译的 类 模板 实例 化“c10::optional<std::vector<bool,std::allocator>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<bool,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optionalc10::Stride,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::optionalc10::Stride,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::optionalc10::Stride,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::optionalc10::Stride,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(569): note: 查看对正在编译的 类 模板 实例 化“c10::optional<std::vector<c10::optionalc10::Stride,std::allocator>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(845): note: 查看对正在编译的 类 模板 实例 化“c10::VaryingShapec10::Stride”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optionalc10::Stride,std::allocator> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(569): note: 查看对正在编译的 类 模板 实例 化“c10::optional<std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(615): note: 查看对正在编译的 类 模板 实例 化“c10::VaryingShape<__int64>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::optional<__int64>,std::allocator<c10::optional<__int64>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<int64,std::allocator<int64>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<int64,std::allocator<int64>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<int64,std::allocator<int64>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<int64,std::allocator<int64>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/jit_type.h(728): note: 查看对正在编译的 类 模板 实例 化“c10::optional<std::vector<int64,std::allocator<int64>>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<int64,std::allocator<int64>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/impl/InlineDeviceGuard.h(427): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/DeviceGuard.h(178): note: 查看对正在编译的 类 模板 实 例化“c10::impl::InlineOptionalDeviceGuardc10::impl::VirtualGuardImpl”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineDeviceGuardc10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(197): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/StreamGuard.h(139): note: 查看对正在编译的 类 模板 实 例化“c10::impl::InlineOptionalStreamGuardc10::impl::VirtualGuardImpl”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::InlineStreamGuardc10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/impl/InlineStreamGuard.h(232): note: 查看对正在编译的 类 模板 实例化“c10::optional”的引用 with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/core/StreamGuard.h(162): note: 查看对正在编译的 类 模板 实 例化“c10::impl::InlineMultiStreamGuardc10::impl::VirtualGuardImpl”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::impl::VirtualGuardImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/core/ivalue_inl.h(884): note: 查看对正在编译的 类 模板 实 例化“c10::optional<std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_type>,std::allocator<c10::weak_intrusive_ptr<TTarget,c10::detail::intrusive_target_default_null_type>>>>”的引用 with [ TTarget=c10::StorageImpl ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=std::vector<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>,std::allocator<c10::weak_intrusive_ptr<c10::StorageImpl,c10::detail::intrusive_target_default_null_typec10::StorageImpl>>> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(212): warning C4624: “c10::constexpr_storage_t”: 已将析构函数隐式定义为“已删除” with [ T=c10::SmallVector<int64,5> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(411): note: 查看对正在编译的 类 模板 实例化“c10::constexpr_storage_t”的引用 with [ T=c10::SmallVector<int64,5> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 类 模板 实例化“c10::trivially_copyable_optimization_optional_base”的引用 with [ T=c10::SmallVector<int64,5> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(549): note: 查看对正在编译的 别名 模板 实例化“c10::OptionalBase”的引用 with [ T=c10::SmallVector<int64,5> ] D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\ATen/TensorIterator.h(918): note: 查看对正在编译的 类 模板 实例化“c10::optional<c10::SmallVector<int64,5>>”的引用 D:/sd-webui-aki-v4/py310/lib/site-packages/torch/include\c10/util/Optional.h(446): warning C4624: “c10::trivially_copyable_optimization_optional_base”: 已将析构函数隐式定义为“已删除” with [ T=c10::SmallVector<int64,5> ] ninja: build stopped: subcommand failed. Traceback (most recent call last): File "D:\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build subprocess.run( File "subprocess.py", line 526, in run subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\setup.py", line 192, in setup( File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptoolsinit.py", line 108, in setup return distutils.core.setup(**attrs) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 185, in setup return run_commands(dist) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands dist.run_commands() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 74, in run self.do_egg_install() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command self.run_command(cmdname) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run self.build_extensions() File "D:\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions build_ext.build_extensions(self) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "D:\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "D:\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "D:\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects _run_ninja_build( File "D:\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

waiting-ylm commented 1 year ago

D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO>python setup.py install Building wheel groundingdino-0.1.0 Compiling with CUDA running install D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing groundingdino.egg-info\PKG-INFO writing dependency_links to groundingdino.egg-info\dependency_links.txt writing requirements to groundingdino.egg-info\requires.txt writing top-level names to groundingdino.egg-info\top_level.txt reading manifest file 'groundingdino.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'groundingdino.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py copying groundingdino\version.py -> build\lib.win-amd64-cpython-310\groundingdino running build_ext D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'groundingdino._C' extension creating D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\sd-webui-aki creating D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4 creating D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4\extensions creating D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything creating D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO creating D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino creating D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models creating D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO creating D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc creating D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\groundingdino\models\GroundingDINO\csrc\MsDeformAttn Emitting ninja build file D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) ninja: error: Stat(D:/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO/build/temp.win-amd64-cpython-310/Release/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.obj): Filename longer than 260 characters Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build subprocess.run( File "subprocess.py", line 526, in run subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\setup.py", line 192, in setup( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools__init__.py", line 108, in setup return distutils.core.setup(**attrs) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 185, in setup return run_commands(dist) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands dist.run_commands() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 74, in run self.do_egg_install() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command self.run_command(cmdname) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run self.build_extensions() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions build_ext.build_extensions(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects _run_ninja_build( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO>python setup.py install Building wheel groundingdino-0.1.0 Compiling with CUDA running install D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools. warnings.warn( running bdist_egg running egg_info writing groundingdino.egg-info\PKG-INFO writing dependency_links to groundingdino.egg-info\dependency_links.txt writing requirements to groundingdino.egg-info\requires.txt writing top-level names to groundingdino.egg-info\top_level.txt reading manifest file 'groundingdino.egg-info\SOURCES.txt' adding license file 'LICENSE' writing manifest file 'groundingdino.egg-info\SOURCES.txt' installing library code to build\bdist.win-amd64\egg running install_lib running build_py copying groundingdino\version.py -> build\lib.win-amd64-cpython-310\groundingdino running build_ext D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py:359: UserWarning: Error checking compiler version for cl: [WinError 2] 系统找不到指定的文件。 warnings.warn(f'Error checking compiler version for {compiler}: {error}') building 'groundingdino._C' extension Emitting ninja build file D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\build\temp.win-amd64-cpython-310\Release\build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) ninja: error: Stat(D:/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO/build/temp.win-amd64-cpython-310/Release/sd-webui-aki/sd-webui-aki-v4/extensions/sd-webui-segment-anything/GroundingDINO/groundingdino/models/GroundingDINO/csrc/MsDeformAttn/ms_deform_attn_cpu.obj): Filename longer than 260 characters Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1893, in _run_ninja_build subprocess.run( File "subprocess.py", line 526, in run subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\sd-webui-aki\sd-webui-aki-v4\extensions\sd-webui-segment-anything\GroundingDINO\setup.py", line 192, in setup( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools__init__.py", line 108, in setup return distutils.core.setup(**attrs) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 185, in setup return run_commands(dist) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\core.py", line 201, in run_commands dist.run_commands() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 969, in run_commands self.run_command(cmd) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 74, in run self.do_egg_install() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install.py", line 123, in do_egg_install self.run_command('bdist_egg') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 164, in run cmd = self.call_command('install_lib', warn_dir=0) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\bdist_egg.py", line 150, in call_command self.run_command(cmdname) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\install_lib.py", line 11, in run self.build() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\cmd.py", line 318, in run_command self.distribution.run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\dist.py", line 1221, in run_command super().run_command(command) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\dist.py", line 988, in run_command cmd_obj.run() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 84, in run _build_ext.run(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 345, in run self.build_extensions() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 843, in build_extensions build_ext.build_extensions(self) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 467, in build_extensions self._build_extensions_serial() File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 493, in _build_extensions_serial self.build_extension(ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools\command\build_ext.py", line 246, in build_extension _build_ext.build_extension(self, ext) File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\setuptools_distutils\command\build_ext.py", line 548, in build_extension objects = self.compiler.compile( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 815, in win_wrap_ninja_compile _write_ninja_file_and_compile_objects( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1574, in _write_ninja_file_and_compile_objects _run_ninja_build( File "D:\sd-webui-aki\sd-webui-aki-v4\py310\lib\site-packages\torch\utils\cpp_extension.py", line 1909, in _run_ninja_build raise RuntimeError(message) from e RuntimeError: Error compiling objects for extension

waiting-ylm commented 1 year ago

我再尝试更新一下驱动行不行吧~ 代码小白快奔溃了~大佬方便可以加个联系方式沟通wx: ylm1148

image
waiting-ylm commented 1 year ago

python setup.py install

还是报这个

guytakeiteasy commented 1 year ago

把 GroundingDINO 放到D盘根目录下(D:\GroundingDINO)再安装

在 2023-05-06 17:16:33,"waiting-ylm" @.***> 写道:

python setup.py install

还是报这个

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>