modelscope / facechain

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

error installing today #618

Open lgwjames opened 3 weeks ago

lgwjames commented 3 weeks ago

*** Error executing callback ui_tabs_callback for C:\Users\jessi\Desktop\SD Forge\webui\extensions\facechain\scripts\facechain_sdwebui.py Traceback (most recent call last): File "C:\Users\jessi\Desktop\SD Forge\webui\modules\script_callbacks.py", line 283, in ui_tabs_callback res += c.callback() or [] File "C:\Users\jessi\Desktop\SD Forge\webui\extensions\facechain\scripts\facechain_sdwebui.py", line 15, in on_ui_tabs import app File "C:\Users\jessi\Desktop\SD Forge\webui\extensions\facechain\app.py", line 16, in from facechain.inference_fact import GenPortrait File "C:\Users\jessi\Desktop\SD Forge\webui\extensions\facechain\facechain\inference_fact.py", line 20, in from modelscope.pipelines import pipeline File "C:\Users\jessi\Desktop\SD Forge\webui\venv\lib\site-packages\modelscope\pipelines__init.py", line 4, in from .base import Pipeline File "C:\Users\jessi\Desktop\SD Forge\webui\venv\lib\site-packages\modelscope\pipelines\base.py", line 16, in from modelscope.msdatasets import MsDataset File "C:\Users\jessi\Desktop\SD Forge\webui\venv\lib\site-packages\modelscope\msdatasets\init__.py", line 2, in from modelscope.msdatasets.ms_dataset import MsDataset File "C:\Users\jessi\Desktop\SD Forge\webui\venv\lib\site-packages\modelscope\msdatasets\ms_dataset.py", line 9, in from datasets import Dataset, DatasetDict, IterableDataset, IterableDatasetDict ModuleNotFoundError: No module named 'datasets'


sunbaigui commented 3 weeks ago

hi @You-Cun , Please take a look at this when you get a chance.

Hunt3rseeker commented 3 weeks ago

I am having the same issue.

Helge666 commented 2 weeks ago

Same issue. Windows 10, RTX 3090 24GB

*** Error executing callback ui_tabs_callback for C:\automatic1111\extensions\facechain\scripts\facechain_sdwebui.py Traceback (most recent call last): File "C:\automatic1111\modules\script_callbacks.py", line 283, in ui_tabs_callback res += c.callback() or [] File "C:\automatic1111\extensions\facechain\scripts\facechain_sdwebui.py", line 15, in on_ui_tabs import app File "C:\automatic1111\extensions\facechain\app.py", line 16, in from facechain.inference_fact import GenPortrait File "C:\automatic1111\extensions\facechain\facechain\inference_fact.py", line 20, in from modelscope.pipelines import pipeline File "c:\automatic1111\venv\lib\site-packages\modelscope\pipelines__init.py", line 4, in from .base import Pipeline File "c:\automatic1111\venv\lib\site-packages\modelscope\pipelines\base.py", line 16, in from modelscope.msdatasets import MsDataset File "c:\automatic1111\venv\lib\site-packages\modelscope\msdatasets\init__.py", line 2, in from modelscope.msdatasets.ms_dataset import MsDataset File "c:\automatic1111\venv\lib\site-packages\modelscope\msdatasets\ms_dataset.py", line 9, in from datasets import Dataset, DatasetDict, IterableDataset, IterableDatasetDict ModuleNotFoundError: No module named 'datasets'

You can overcome this and the following ModuleNotFoundError by installing the missing modules:

PS C:\automatic1111\venv\Scripts> .\activate.ps1 (venv) PS C:\automatic1111\venv\Scripts> pip install datasets oss2

But after doing that, you'll run into this error:

*** Error executing callback ui_tabs_callback for C:\automatic1111\extensions\facechain\scripts\facechain_sdwebui.py Traceback (most recent call last): File "C:\automatic1111\modules\script_callbacks.py", line 283, in ui_tabs_callback res += c.callback() or [] File "C:\automatic1111\extensions\facechain\scripts\facechain_sdwebui.py", line 15, in on_ui_tabs import app File "C:\automatic1111\extensions\facechain\app.py", line 16, in from facechain.inference_fact import GenPortrait File "C:\automatic1111\extensions\facechain\facechain\inference_fact.py", line 20, in from modelscope.pipelines import pipeline File "c:\automatic1111\venv\lib\site-packages\modelscope\pipelines__init.py", line 4, in from .base import Pipeline File "c:\automatic1111\venv\lib\site-packages\modelscope\pipelines\base.py", line 16, in from modelscope.msdatasets import MsDataset File "c:\automatic1111\venv\lib\site-packages\modelscope\msdatasets\init__.py", line 2, in from modelscope.msdatasets.ms_dataset import MsDataset File "c:\automatic1111\venv\lib\site-packages\modelscope\msdatasets\ms_dataset.py", line 24, in from modelscope.msdatasets.utils.hf_datasets_util import load_dataset_with_ctx File "c:\automatic1111\venv\lib\site-packages\modelscope\msdatasets\utils\hf_datasets_util.py", line 44, in from datasets.utils.file_utils import (OfflineModeIsEnabled, ImportError: cannot import name 'OfflineModeIsEnabled' from 'datasets.utils.file_utils' (c:\automatic1111\venv\lib\site-packages\datasets\utils\file_utils.py)

scooller commented 1 week ago

I hace the same error

TungyuYoung commented 5 days ago

same error. don't know how to fix it...