最近使用comfyui-easy-use的背景移除节点时,报这么个奇怪错误:
OSError: Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack found in directory /opt/comfyui/models/clip/siglip-so400m-patch14-384.
发现是下载的模型不对,huggingface下有好几个版本,恰好我下的版本就没有model.safetensors。重新下一个:
google/siglip-so400m-patch14-384 at main
就好了