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

adetailer stopped showing in My A1111 #6

Closed
Zak088 opened this issue May 3, 2023 · 5 comments
Closed

adetailer stopped showing in My A1111 #6

Zak088 opened this issue May 3, 2023 · 5 comments

Comments

@Zak088
Copy link

Zak088 commented May 3, 2023

Hello, Yesterday everything was working great but today when I started My webui adetailer was gone I updated it but still not showin and I get this error in my terminal window , btw I am on mac system

Error loading script: !adetailer.py

it was really great extension and I don't know what Happened !!??

@Bing-su
Copy link
Owner

Bing-su commented May 4, 2023

Are you using Python 3.8?

@Zak088
Copy link
Author

Zak088 commented May 4, 2023

Are you using Python 3.8?

no I am on Python 3.10

@Bing-su
Copy link
Owner

Bing-su commented May 4, 2023

Can you post the full error log?

@Zak088
Copy link
Author

Zak088 commented May 4, 2023

yeah sure, btw now it is working but only face_yolov8s is working and the others I get this error

Error running postprocess_batch: /Users/stable-diffusion-webui/extensions/adetailer/scripts/!adetailer.py
Traceback (most recent call last):
  File "/Users/stable-diffusion-webui/modules/scripts.py", line 462, in postprocess_image
    script.postprocess_image(p, pp, *script_args)
  File "/Users/stable-diffusion-webui/extensions/adetailer/scripts/!adetailer.py", line 461, in postprocess_image
    pred = predictor(ad_model, pp.image, args.ad_conf, **kwargs)
  File "/Users/stable-diffusion-webui/extensions/adetailer/adetailer/mediapipe.py", line 13, in mediapipe_predict
    import mediapipe as mp
  File "/Users/stable-diffusion-webui/venv/lib/python3.10/site-packages/mediapipe/__init__.py", line 16, in <module>
    import mediapipe.python.solutions as solutions
  File "/Users/table-diffusion-webui/venv/lib/python3.10/site-packages/mediapipe/python/solutions/__init__.py", line 17, in <module>
    import mediapipe.python.solutions.drawing_styles
  File "/Users/stable-diffusion-webui/venv/lib/python3.10/site-packages/mediapipe/python/solutions/drawing_styles.py", line 20, in <module>
    from mediapipe.python.solutions.drawing_utils import DrawingSpec
  File "/Users/stable-diffusion-webui/venv/lib/python3.10/site-packages/mediapipe/python/solutions/drawing_utils.py", line 24, in <module>
    from mediapipe.framework.formats import detection_pb2
  File "/Users/stable-diffusion-webui/venv/lib/python3.10/site-packages/mediapipe/framework/formats/detection_pb2.py", line 5, in <module>
    from google.protobuf.internal import builder as _builder
ImportError: cannot import name 'builder' from 'google.protobuf.internal' (/Users/stable-diffusion-webui/venv/lib/python3.10/site-packages/google/protobuf/internal/__init__.py)

@Bing-su
Copy link
Owner

Bing-su commented May 4, 2023

@Bing-su Bing-su closed this as completed May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants