|
-----------------------------------------------------
更多实用好玩的AI应用,访问 https://deepface.cc
软件 WebUI正在启动中,请稍后...
-----------------------------------------------------
Traceback (most recent call last):
File "G:\BiRefNet\app.py", line 88, in <module>
birefnet = AutoModelForImageSegmentation.from_pretrained('/'.join(('zhengpeng7', usage_to_weights_file['General'])), trust_remote_code=True)
File "G:\BiRefNet\python\lib\site-packages\transformers\models\auto\auto_factory.py", line 551, in from_pretrained
model_class = get_class_from_dynamic_module(
File "G:\BiRefNet\python\lib\site-packages\transformers\dynamic_module_utils.py", line 502, in get_class_from_dynamic_module
final_module = get_cached_module_file(
File "G:\BiRefNet\python\lib\site-packages\transformers\dynamic_module_utils.py", line 327, in get_cached_module_file
modules_needed = check_imports(resolved_module_file)
File "G:\BiRefNet\python\lib\site-packages\transformers\dynamic_module_utils.py", line 182, in check_imports
raise ImportError(
ImportError: This modeling file requires the following packages that were not found in your environment: einops. Run `pip install einops`
请按任意键继续. . .
|
|