modelscope / facechain

FaceChain is a deep-learning toolchain for generating your Digital-Twin.
Apache License 2.0
8.99k stars 850 forks source link

The tab doesn't work at all #593

Closed GlukXP closed 1 month ago

GlukXP commented 2 months ago

After installing through the available extensions, I did not find the "Facechain" tab. I tried different ways to launch/update/reinstall, including completely disabling third-party webui add-ons. didn't help. Explain: what am I doing wrong?

I found these lines in the window:

Creating model from config: I:\stable-diffusion-portable-main\configs\v1-inference.yaml *** Error executing callback ui_tabs_callback for I:\stable-diffusion-portable-main\extensions\facechain\scripts\facechain_sdwebui.py Traceback (most recent call last): File "I:\stable-diffusion-portable-main\modules\script_callbacks.py", line 283, in ui_tabs_callback res += c.callback() or [] File "I:\stable-diffusion-portable-main\extensions\facechain\scripts\facechain_sdwebui.py", line 15, in on_ui_tabs import app File "I:\stable-diffusion-portable-main\extensions\facechain\app.py", line 16, in from facechain.inference_fact import GenPortrait File "I:\stable-diffusion-portable-main\extensions\facechain\facechain\inference_fact.py", line 10, in from controlnet_aux import OpenposeDetector File "I:\stable-diffusion-portable-main\venv\lib\site-packages\controlnet_aux__init.py", line 11, in from .mediapipe_face import MediapipeFaceDetector File "I:\stable-diffusion-portable-main\venv\lib\site-packages\controlnet_aux\mediapipe_face__init__.py", line 9, in from .mediapipe_face_common import generate_annotation File "I:\stable-diffusion-portable-main\venv\lib\site-packages\controlnet_aux\mediapipe_face\mediapipe_face_common.py", line 5, in import mediapipe as mp File "I:\stable-diffusion-portable-main\venv\lib\site-packages\mediapipe\init.py", line 16, in import mediapipe.python.solutions as solutions File "I:\stable-diffusion-portable-main\venv\lib\site-packages\mediapipe\python\solutions\init.py", line 17, in import mediapipe.python.solutions.drawing_styles File "I:\stable-diffusion-portable-main\venv\lib\site-packages\mediapipe\python\solutions\drawing_styles.py", line 21, in from mediapipe.python.solutions.hands import HandLandmark File "I:\stable-diffusion-portable-main\venv\lib\site-packages\mediapipe\python\solutions\hands.py", line 23, in from mediapipe.calculators.core import constant_side_packet_calculator_pb2 File "I:\stable-diffusion-portable-main\venv\lib\site-packages\mediapipe\calculators\core\constant_side_packet_calculator_pb2.py", line 31, in mediapipe_dot_framework_dot_calculatoroptions__pb2.CalculatorOptions.RegisterExtension(_CONSTANTSIDEPACKETCALCULATOROPTIONS.extensions_by_name['ext']) AttributeError: type object 'CalculatorOptions' has no attribute 'RegisterExtension'

spencerfrost commented 2 months ago

Same here. Can't get it to work.

sunbaigui commented 2 months ago

The same issue as #577 ?

GlukXP commented 2 months ago

The same issue as #577 ?

It looks like it, but no. I have Automatic1111 WebUI version: v1.10.1 and there seems to be another error in the window.

sunbaigui commented 1 month ago

merged to #577 as WebUI bug.