[Bug]:adetailer mediapipe (requirements:protobuf==4.25.4) in webui v1.10.1 bug.But webui v1.10.1 requirements:protobuf==3.20.0。Causes webui v1.10.1 crash, disable the plugin to use **webui v1.10.1**。How can I fix it?set the adetailer and mediapipe runtime environment(protobuf==3.20.0)?
swumagic opened this issue · 2 comments
Describe the bug
$ pip show mediapipe
Name: mediapipe
Version: 0.10.14
Summary: MediaPipe is the simplest way for researchers and developers to build world-class ML solutions and applications for mobile, edge, cloud and the web.
Home-page: https://github.com/google/mediapipe
Author-email: mediapipe@google.com
Requires: absl-py, attrs, flatbuffers, jax, jaxlib, matplotlib, numpy, opencv-contrib-python, protobuf, sounddevice
[Bug]:adetailer mediapipe (requirements:protobuf==4.25.4) in webui v1.10.1 bug.But webui v1.10.1 requirements:protobuf==3.20.0。Causes webui v1.10.1 crash, disable the plugin to use webui v1.10.1。How can I fix it?set the adetailer and mediapipe runtime environment(protobuf==3.20.0)?
Steps to reproduce
up
Screenshots
No response
Console logs, from start to end.
But webui v1.10.1 requirements:protobuf==3.20.0。Causes webui v1.10.1 crash, disable the plugin to use **webui v1.10.1**。
Can I set the adetailer and mediapipe runtime environment(protobuf==3.20.0)?
List of installed extensions
No response
Hi @swumagic! I'm here to help you out with any bugs, questions, or contributions you might have. Let's squash some bugs together!
Yes, you can configure the runtime environment for both adetailer
and mediapipe
to use protobuf==3.20.3
to resolve the issue. Here is how you can specify the protobuf
version in your environment setup:
-
Using a
requirements.txt
file:mediapipe protobuf==3.20.3
-
Using a
pip
command:pip install mediapipe protobuf==3.20.3
This will ensure that the protobuf
version 3.20.3 is used, which should resolve any compatibility issues.
However, please note that according to the latest changelog for adetailer
, the minimum version of mediapipe
has been updated to use protobuf
version 4. This means that using protobuf==3.20.3
might not be compatible with the latest versions of adetailer
. You may need to use an older version of adetailer
that is compatible with protobuf==3.20.3
or update your environment to use protobuf
version 4 to match the latest adetailer
requirements [1][2].
[Bug]:stable-diffusion-webui-wd14-tagger (requirements:protobuf==4.25.4) in webui v1.10.1 bug.But webui v1.10.1 requirements:protobuf==3.20.0。