Code Monkey home page Code Monkey logo

Comments (5)

Bing-su avatar Bing-su commented on July 21, 2024

Are you using Python 3.8?

from adetailer.

Zak088 avatar Zak088 commented on July 21, 2024

Are you using Python 3.8?

no I am on Python 3.10

from adetailer.

Bing-su avatar Bing-su commented on July 21, 2024

Can you post the full error log?

from adetailer.

Zak088 avatar Zak088 commented on July 21, 2024

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)

from adetailer.

Bing-su avatar Bing-su commented on July 21, 2024

Well, you might want to try reinstalling protobuf.

https://stackoverflow.com/questions/71759248/importerror-cannot-import-name-builder-from-google-protobuf-internal

from adetailer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.