huchenlei/ComfyUI-IC-Light-Native

PytorchStreamReader failed reading zip archive: failed finding central directory

Amazon90 opened this issue · 1 comments

Error occurred when executing easy imageRemBg:

PytorchStreamReader failed reading zip archive: failed finding central directory

File "D:\Git\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\Git\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\Git\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\Git\ComfyUI\custom_nodes\ComfyUI-Easy-Use\py\image.py", line 706, in remove
net.load_state_dict(torch.load(model_path, map_location=device))
File "D:\Git\ComfyUI\venv\lib\site-packages\torch\serialization.py", line 1072, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "D:\Git\ComfyUI\venv\lib\site-packages\torch\serialization.py", line 480, in __init__
super().__init__(torch._C.PyTorchFileReader(name_or_buffer))

** Platform: Windows
** Python version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
** Python executable: D:\Git\ComfyUI\venv\Scripts\Python.exe
** ComfyUI Path: D:\Git\ComfyUI
** Log path: D:\Git\ComfyUI\comfyui.log
pytorch version: 2.4.0+cu118
xformers version: 0.0.27.post2+cu118
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 4070 Ti : cudaMallocAsync

RMBG-1.4.pth is broken. Redownloading it from huggingface.