Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: adetailer 실행오류 #750

Open
rinkis6 opened this issue Dec 7, 2024 · 1 comment
Open

[Bug]: adetailer 실행오류 #750

rinkis6 opened this issue Dec 7, 2024 · 1 comment
Labels
bug Something isn't working Stale

Comments

@rinkis6
Copy link

rinkis6 commented Dec 7, 2024

Describe the bug

adetailer를 업데이트하고 나서, webui를 통한 그림은 생성이 안되지만, adetailer 적용이 안되는군요. 심지어는 avg antivirusfree 앱에서 트로이목마라고 제외까지 시켜버렸습니다.

Steps to reproduce

부디.. 해결할 수 있도록 도와주세요

Screenshots

image

스크린샷 2024-12-07 163457

Console logs, from start to end.

│                 ADetailer                                                                                        │
    │ ┏━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━┓                                                                        │
    │ ┃                     ┃ Value           ┃                                                                        │
    │ ┡━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━┩                                                                        │
    │ │             version │ 24.11.1         │                                                                        │
    │ │            ad_model │ face_yolov8s.pt │                                                                        │
    │ │           ad_prompt │                 │                                                                        │
    │ │  ad_negative_prompt │                 │                                                                        │
    │ │ ad_controlnet_model │ None            │                                                                        │
    │ │              is_api │ False           │                                                                        │
    │ └─────────────────────┴─────────────────┘                                                                        │
    │ ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮             │
    │ │ F:\stable-diffusion-webui\extensions\adetailer\aaaaaa\traceback.py:153 in wrapper                │             │
    │ │                                                                                                  │             │
    │ │   152 │   │   try:                                                                               │             │
    │ │ ❱ 153 │   │   │   return func(*args, **kwargs)                                                   │             │
    │ │   154 │   │   except Exception as e:                                                             │             │
    │ │                                                                                                  │             │
    │ │ F:\stable-diffusion-webui\extensions\adetailer\scripts\!adetailer.py:916 in postprocess_image    │             │
    │ │                                                                                                  │             │
    │ │    915 │   │   │   │   │   continue                                                              │             │
    │ │ ❱  916 │   │   │   │   is_processed |= self._postprocess_image_inner(p, pp, args, n=n)           │             │
    │ │    917                                                                                           │             │
    │ │                                                                                                  │             │
    │ │ F:\stable-diffusion-webui\extensions\adetailer\scripts\!adetailer.py:830 in                      │             │
    │ │ _postprocess_image_inner                                                                         │             │
    │ │                                                                                                  │             │
    │ │    829 │   │   │   │   ad_model = self.get_ad_model(args.ad_model)                               │             │
    │ │ ❱  830 │   │   │   │   pred = ultralytics_predict(                                               │             │
    │ │    831 │   │   │   │   │   ad_model,                                                             │             │
    │ │                                                                                                  │             │
    │ │ F:\stable-diffusion-webui\extensions\adetailer\adetailer\ultralytics.py:25 in                    │             │
    │ │ ultralytics_predict                                                                              │             │
    │ │                                                                                                  │             │
    │ │   24 ) -> PredictOutput[float]:                                                                  │             │
    │ │ ❱ 25 │   from ultralytics import YOLO                                                            │             │
    │ │   26                                                                                             │             │
    │ │                                                                                                  │             │
    │ │ F:\stable-diffusion-webui\venv\lib\site-packages\ultralytics\__init__.py:6 in <module>           │             │
    │ │                                                                                                  │             │
    │ │    5 import os                                                                                   │             │
    │ │ ❱  6 import package                                                                              │             │
    │ │    7                                                                                             │             │
    │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯             │
    │ ModuleNotFoundError: No module named 'package'                                                                   │
    ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

List of installed extensions

No response

@rinkis6 rinkis6 added the bug Something isn't working label Dec 7, 2024
Copy link

dosubot bot commented Dec 7, 2024

@rinkis6 안녕하세요! Dosu라고 합니다. 버그를 해결하고 질문에 답하며 기여할 수 있는 봇입니다. 도와드릴 수 있을 때까지 기다리는 동안 여기 있을게요.

The issue you're experiencing seems to be related to a missing module named 'package' in the ultralytics library, which is causing a ModuleNotFoundError. This error might be due to an incorrect or incomplete installation of the ultralytics library.

Here are some steps you can take to resolve this issue:

  1. Verify Installation of Dependencies: Ensure that all dependencies, especially ultralytics, are correctly installed. You can reinstall the ultralytics library by running:

    pip install --upgrade ultralytics

    Make sure the version is 8.2 or higher, as required by the adetailer extension [1].

  2. Check for Antivirus Interference: The AVG antivirus alert indicates that a file was quarantined, which might be affecting the execution of the extension. You can try restoring the file from quarantine and adding an exception for the adetailer extension in your antivirus settings to prevent it from being flagged again.

  3. Review Recent Changes: If the issue started after an update, consider checking the recent changes or commits in the adetailer repository to see if there are any known issues or fixes related to module imports.

  4. Consult Documentation: Although there is no specific documentation found regarding antivirus interactions, reviewing any available documentation or comments in the codebase might provide additional insights.

If these steps do not resolve the issue, you might need to investigate further into the specific environment setup or consult with others who might have faced similar issues.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@github-actions github-actions bot added the Stale label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

1 participant