paulo-coronado / comfy_clip_blip_node

29 stars 6 forks source link

PytorchStreamReader failed reading zip archive: failed finding central directory #5

Open sj8214834 opened 11 months ago

sj8214834 commented 11 months ago

I have a problem when using comfy_clip_blip_node, the error shows below:

ERROR:root:!!! Exception during processing !!! ERROR:root:Traceback (most recent call last): File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 83, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "E:\ComfyUI_windows_portable\ComfyUI\execution.py", line 76, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_clip_blip_node\blip_node.py", line 173, in blip model = blip_decoder(pretrained=model_url, image_size=size, vit="base") File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_clip_blip_node\models\blip.py", line 175, in blip_decoder model,msg = load_checkpoint(model,pretrained) File "E:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfy_clip_blip_node\models\blip.py", line 218, in load_checkpoint checkpoint = torch.load(cached_file, map_location='cpu') File "E:\ComfyUI_windows_portable\python_embeded\lib\site-packages\torch\serialization.py", line 797, in load with _open_zipfile_reader(opened_file) as opened_zipfile: File "E:\ComfyUI_windows_portable\python_embeded\lib\site-packages\torch\serialization.py", line 283, in init super().init(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

I tried update pytorch, reinstall all depends, and nothing changed.

Could u please help to solve this problem?

At last, thank u for this amazing node, it is REALLY can help a lot.