ZHO-ZHO-ZHO / ComfyUI-InstantID

Unofficial implementation of InstantID for ComfyUI
1.32k stars 76 forks source link

啥问题 #64

Open gxbsyxh opened 8 months ago

gxbsyxh commented 8 months ago

Error occurred when executing IDControlNetLoader:

We couldn't connect to 'https://huggingface.co' to load this model, couldn't find it in the cached files and it looks like /content/ComfyUI/models/controlnet is not the path to a directory containing a config.json file. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/diffusers/installation#offline-mode'.

File "D:\ComfyUI_windows_portable26\ComfyUI\execution.py", line 155, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "D:\ComfyUI_windows_portable26\ComfyUI\execution.py", line 85, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "D:\ComfyUI_windows_portable26\ComfyUI\execution.py", line 78, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "D:\ComfyUI_windows_portable26\ComfyUI\custom_nodes\ComfyUI-InstantID\InstantIDNode.py", line 96, in load_idcontrolnet controlnet = ControlNetModel.from_pretrained(controlnet_path, torch_dtype=torch.float16) File "D:\ComfyUI_windows_portable26\python_embeded\Lib\site-packages\huggingface_hub\utils_validators.py", line 118, in _inner_fn return fn(*args, *kwargs) File "D:\ComfyUI_windows_portable26\python_embeded\Lib\site-packages\diffusers\models\modeling_utils.py", line 712, in from_pretrained config, unused_kwargs, commit_hash = cls.load_config( File "D:\ComfyUI_windows_portable26\python_embeded\Lib\site-packages\huggingface_hub\utils_validators.py", line 118, in _inner_fn return fn(args, kwargs) File "D:\ComfyUI_windows_portable26\python_embeded\Lib\site-packages\diffusers\configuration_utils.py", line 411, in load_config raise EnvironmentError(

aierbaipang commented 8 months ago

我也是一样啊,但是我把路径改成 我的config.json文件所在地方,又说我这个文件有问题不是有效的,是不是什么依赖版本不一样? OSError: It looks like the config file at 'D:\ProgramData\ComfyUI\ComfyUI\custom_nodes\ComfyUI-InstantID\checkpoints\controlnet\config.json' is not a valid JSON file.

blueswolf commented 7 months ago

me too