Bing-su / dddetailer

Detection Detailer hijack edition
131 stars 14 forks source link

스크립트가 자주 비활성화됩니다. #9

Closed jhs10507 closed 1 year ago

jhs10507 commented 1 year ago

삭제 후 재설치를 하는데도 계속 에러가 나고 비활성화 되고 있습니다. 업데이트를 시도해봐도 에러가 뜨네요.

Error loading script: ddetailer.py Traceback (most recent call last): File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\extensions\dddetailer\scripts\ddetailer.py", line 931, in from mmdet.apis import inference_detector, init_detector File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\mmdet__init.py", line 10, in mmcv_version = digit_version(mmcv.version) AttributeError: module 'mmcv' has no attribute 'version__'

[AddNet] Updating model hashes... 0it [00:00, ?it/s] init TpTranslate [VRAMEstimator] No stats available, run benchmark first Running on local URL: http://127.0.0.1:7860

To create a public link, set share=True in launch(). COMMANDLINE_ARGS does not contain --api, API won't be mounted. Startup time: 44.3s (load scripts: 31.3s, create ui: 12.6s, gradio launch: 0.2s). ERROR: Exception in ASGI application Traceback (most recent call last): File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\responses.py", line 335, in call stat_result = await anyio.to_thread.run_sync(os.stat, self.path) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) FileNotFoundError: [WinError 2] 지정된 파일을 찾을 수 없습니다: 'D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\extensions\a1111-sd-webui-tagcomplete\tags\keymap.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 404, in run_asgi result = await app( # type: ignore[func-returns-value] File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call return await self.app(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\fastapi\applications.py", line 273, in call await super().call(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\applications.py", line 122, in call await self.middleware_stack(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call raise exc File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call await self.app(scope, receive, _send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call await responder(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call await self.app(scope, receive, self.send_with_gzip) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call raise exc File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call await self.app(scope, receive, sender) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call raise e File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call await self.app(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 718, in call await route.handle(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 276, in handle await self.app(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 69, in app await response(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\responses.py", line 338, in call raise RuntimeError(f"File at path {self.path} does not exist.") RuntimeError: File at path D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\extensions\a1111-sd-webui-tagcomplete\tags\keymap.json does not exist. ERROR: Exception in ASGI application Traceback (most recent call last): File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\responses.py", line 335, in call stat_result = await anyio.to_thread.run_sync(os.stat, self.path) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\anyio\to_thread.py", line 31, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 937, in run_sync_in_worker_thread return await future File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\anyio_backends_asyncio.py", line 867, in run result = context.run(func, *args) FileNotFoundError: [WinError 2] 지정된 파일을 찾을 수 없습니다: 'D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\extensions\a1111-sd-webui-tagcomplete\tags\colors.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 404, in run_asgi result = await app( # type: ignore[func-returns-value] File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\uvicorn\middleware\proxy_headers.py", line 78, in call return await self.app(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\fastapi\applications.py", line 273, in call await super().call(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\applications.py", line 122, in call await self.middleware_stack(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 184, in call raise exc File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\errors.py", line 162, in call await self.app(scope, receive, _send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 24, in call await responder(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\gzip.py", line 44, in call await self.app(scope, receive, self.send_with_gzip) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 79, in call raise exc File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\middleware\exceptions.py", line 68, in call await self.app(scope, receive, sender) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in call raise e File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in call await self.app(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 718, in call await route.handle(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 276, in handle await self.app(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\routing.py", line 69, in app await response(scope, receive, send) File "D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\venv\lib\site-packages\starlette\responses.py", line 338, in call raise RuntimeError(f"File at path {self.path} does not exist.") RuntimeError: File at path D:\Norble_AI\WEBUI0.55.4\stable-diffusion-webui\extensions\a1111-sd-webui-tagcomplete\tags\colors.json does not exist.

Bing-su commented 1 year ago

제가 AI그림채널 질문탭을 꾸준히 보는데 이 질문글에 답해드리지 않은 이유는, 이 문제가 이 확장프로그램 문제가 아니기 때문이고, 이 문제를 해결하려면 알아야 할게 많은데 질문자님께서 제공해주신 정보로는 추론해낼수 있는게 거의 없기 때문입니다. venv폴더 날리고 재설치를 해보세요.