函数计算FC这个问题怎么解决?1、inpaint anything、cleaner插件全都安装失败。
2、镜像自带的roop在文件管理里面看到,在webUI运行界面没有。
3、镜像自带的tagger一用就报错error。2023-11-13T12:53:21.67Z 1-65521c3a-69d515b7ef4aec5db3a3f9fc Start to pull image registry.cn-shenzhen.aliyuncs.com/aliyun-fc/fc-stable-diffusion:realman-v122023-11-13T12:53:22.858Z 1-65521c3a-69d515b7ef4aec5db3a3f9fc End to pull image registry.cn-shenzhen.aliyuncs.com/aliyun-fc/fc-stable-diffusion:realman-v12, elapsed 1188 msIMAGE_TAG [[realman-v12]] [[realman-v12]]
Mount /mnt/auto/sd/root to /root
Mount /mnt/auto/sd/localizations to /stable-diffusion-webui/localizations
Mount /mnt/auto/sd/textual_inversion_templates to /stable-diffusion-webui/textual_inversion_templates
Mount /mnt/auto/sd/configs to /stable-diffusion-webui/configs
Mount /mnt/auto/sd/extensions-builtin to /stable-diffusion-webui/extensions-builtin
Mount /mnt/auto/sd/repositories/CodeFormer/weights/facelib to /stable-diffusion-webui/repositories/CodeFormer/weights/facelib
Mount /mnt/auto/sd/outputs to /stable-diffusion-webui/outputs
Mount /mnt/auto/sd/embeddings to /stable-diffusion-webui/embeddings
Mount /mnt/auto/sd/config.json to /stable-diffusion-webui/config.json
Mount /mnt/auto/sd/scripts to /stable-diffusion-webui/scripts
Mount /mnt/auto/sd/models to /stable-diffusion-webui/models
Mount /mnt/auto/sd/styles.csv to /stable-diffusion-webui/styles.csv
Mount /mnt/auto/sd/ui-config.json to /stable-diffusion-webui/ui-config.json
Mount /mnt/auto/sd/extensions to /stable-diffusion-webui/extensions
args: --xformers --enable-insecure-extension-access --skip-version-check --no-download-sd-model
start sd-agent
start to read stable diffusion output
start to check stable diffusion process health
connect to huggingface.co (//huggingface.co:443), reject it.
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /Bingsu/adetailer/resolve/main/face_yolov8n.pt (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 408 Request Timeout')))"), '(Request ID: 984f360f-abe3-49e0-bd00-3ecdf8557855)')' thrown while requesting HEAD https://huggingface.co/Bingsu/adetailer/resolve/main/face_yolov8n.pt
x001b[1m[x001b[0m-[1m][0m ADetailer: Failed to load model [32m'face_yolov8n.pt'[0m from huggingface
connect to huggingface.co (//huggingface.co:443), reject it.
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /Bingsu/adetailer/resolve/main/face_yolov8s.pt (Caused by ProxyError('Unable to connect to proxy', OSError('Tunnel connection failed: 408 Request Timeout')))"), '(Request ID: f6e08051-c541-42a7-bcfd-e957844762bc)')' thrown while requesting HEAD https://huggingface.co/Bingsu/adetailer/resolve/main/face_yolov8s.pt
[1m[x001b[0m-[1m]x001b[0m ADetailer: Failed to load model [32m'face_yolov8s.pt'[0m from huggingface
connect to huggingface.co (//huggingface.co:443), reject it.
'(MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /Bingsu/adetailer/resolve/main/hand_yolov8n.pt (Caused by ProxyError('Unable to c
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
根据您提供的信息,函数计算FC在安装插件时遇到了问题。以下是一些建议来解决这个问题:
检查网络连接:确保您的计算机可以正常访问互联网。如果网络连接不稳定或受到限制,可能会导致插件安装失败。
更新pip和setuptools:确保您的pip和setuptools是最新版本。您可以使用以下命令更新它们:
pip install --upgrade pip setuptools
pip cache purge
pip install --no-cache-dir <插件名称>
检查插件依赖:确保您已经安装了所有插件所需的依赖包。您可以查看插件的文档或源代码,了解它需要哪些依赖包。然后使用pip安装这些依赖包。
尝试使用其他镜像源:有时候,某些镜像源可能无法访问,导致插件安装失败。您可以尝试更换其他镜像源,例如阿里云、腾讯云等。要更换镜像源,您可以在安装插件时指定--index-url
参数,如下所示:
pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple <插件名称>
针对上述问题,可能需要执行以下步骤:
从你的描述中可以得知,似乎出现了几个问题:
inpaint anything
和 Cleaner 插件安装失败,可能是缺少所需的依赖或者版本不兼容等问题,请检查插件是否与你的环境兼容;针对第2个问题,请尝试登录实例并检查是否有Web UI应用程序正在运行。可以考虑更新版本或者重启实例以解决问题。
roop 插件逻辑要求连接 hugging face,但是国内不允许访问,所以只能在海外集群使用哈。直接通过 webui 安装,会尝试自动安装依赖,但是在 Serverless 环境下,因为环境是无状态的,所以安装不上,需要手动装到 nas。这个就是看怎么把 webui 识别到正确的依赖就行。目前 /mnt/auto/sd/python 下面的所有包都会识别,检查不到就是这里缺依赖了。 https://alidocs.dingtalk.com/i/p/x9JOGOjr65om4QLAdy0mV8B0gpkodz89
此回答整理自钉群“【答疑群】函数计算 AIGC 场景技术交流”