在执行节点CLIPSeg Model Loader时,当网络不能访问 huggingface.co 时,会出现错误:
Exception during processing!!! HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /CIDAS/clipseg-rd64-refined/resolve/main/model.safetensors
架了梯子后,自动下载模型,错误消失,但不知道为何每次使用还是需要架梯子,搜索到下面相关文章,依然无法解决,最后全新配置comfyui后,只需要架梯子一次下载模型,后续就不需要架梯子了。记录一下。
全新配置comfyui后不架梯子时报错误:
We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like CIDAS/clipseg-rd64-refined is not the path to a directory containing a file named preprocessor_config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
搜索到相关 文章:
1、
2、
blog/clipseg-zero-shot.md at main · huggingface/blog · GitHub
3、
新的ComfyUI也是改进了很多: