Skip to content

Error occurred when executing BiRefNet_ModelLoader_Zho: PytorchStreamReader failed reading zip archive: failed finding central directory #17

Description

@VietnguyenOlong

Error occurred when executing BiRefNet_ModelLoader_Zho:

PytorchStreamReader failed reading zip archive: failed finding central directory

File "/content/ComfyUI/execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "/content/ComfyUI/execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "/content/ComfyUI/execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "/content/ComfyUI/custom_nodes/ComfyUI-BiRefNet-ZHO/birefnet.py", line 50, in load_model
net = BiRefNet()
File "/content/ComfyUI/custom_nodes/ComfyUI-BiRefNet-ZHO/models/baseline.py", line 28, in init
self.bb = build_backbone(self.config.bb, pretrained=True)
File "/content/ComfyUI/custom_nodes/ComfyUI-BiRefNet-ZHO/models/backbones/build_backbone.py", line 25, in build_backbone
bb = load_weights(bb, bb_name)
File "/content/ComfyUI/custom_nodes/ComfyUI-BiRefNet-ZHO/models/backbones/build_backbone.py", line 29, in load_weights
save_model = torch.load(config.weights[model_name])
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 1004, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "/usr/local/lib/python3.10/dist-packages/torch/serialization.py", line 456, in init
super().init(torch._C.PyTorchFileReader(name_or_buffer))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions