函数计算FC这个问题怎么解决?

函数计算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

展开
收起
三分钟热度的鱼 2023-11-22 20:32:39 197 分享 版权
4 条回答
写回答
取消 提交回答
  • 根据您提供的信息,函数计算FC在安装插件时遇到了问题。以下是一些建议来解决这个问题:

    1. 检查网络连接:确保您的计算机可以正常访问互联网。如果网络连接不稳定或受到限制,可能会导致插件安装失败。

    2. 更新pip和setuptools:确保您的pip和setuptools是最新版本。您可以使用以下命令更新它们:

    pip install --upgrade pip setuptools
    
    1. 清除缓存:有时候,pip的缓存可能会导致插件安装失败。您可以尝试清除pip的缓存,然后重新安装插件:
    pip cache purge
    pip install --no-cache-dir <插件名称>
    
    1. 检查插件依赖:确保您已经安装了所有插件所需的依赖包。您可以查看插件的文档或源代码,了解它需要哪些依赖包。然后使用pip安装这些依赖包。

    2. 尝试使用其他镜像源:有时候,某些镜像源可能无法访问,导致插件安装失败。您可以尝试更换其他镜像源,例如阿里云、腾讯云等。要更换镜像源,您可以在安装插件时指定--index-url参数,如下所示:

    pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple <插件名称>
    
    2023-11-29 11:04:24
    赞同 展开评论
  • 针对上述问题,可能需要执行以下步骤:

    1. 检查连接稳定性:检查网络环境是否稳定、DNS 是否正常;
    2. 更新 Stable Diffusion Agent:将容器中涉及的环境变量更新至最新版本;
    3. 检查 Hugging Face API 接口:确保 Hugging Face API 是否可用;
    4. 更新容器:使用 Stable Diffusion 最新版容器;
    5. 清除缓存:清空浏览器缓存。
    2023-11-24 16:59:09
    赞同 展开评论
  • 面对过去,不要迷离;面对未来,不必彷徨;活在今天,你只要把自己完全展示给别人看。

    从你的描述中可以得知,似乎出现了几个问题:

    1. inpaint anything 和 Cleaner 插件安装失败,可能是缺少所需的依赖或者版本不兼容等问题,请检查插件是否与你的环境兼容;
    2. 镜像问题,在实例内部看不到Web UI。

    针对第2个问题,请尝试登录实例并检查是否有Web UI应用程序正在运行。可以考虑更新版本或者重启实例以解决问题。

    2023-11-23 13:55:59
    赞同 展开评论
  • roop 插件逻辑要求连接 hugging face,但是国内不允许访问,所以只能在海外集群使用哈。直接通过 webui 安装,会尝试自动安装依赖,但是在 Serverless 环境下,因为环境是无状态的,所以安装不上,需要手动装到 nas。这个就是看怎么把 webui 识别到正确的依赖就行。目前 /mnt/auto/sd/python 下面的所有包都会识别,检查不到就是这里缺依赖了。 https://alidocs.dingtalk.com/i/p/x9JOGOjr65om4QLAdy0mV8B0gpkodz89 78a11f0b607f02052a2d76056138697d.png
    此回答整理自钉群“【答疑群】函数计算 AIGC 场景技术交流”

    2023-11-22 20:44:44
    赞同 展开评论
问答分类:
问答地址:

快速交付实现商业价值。

还有其他疑问?
咨询AI助理