Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurred when executing LayerMask: SegmentAnythingUltra: #143

Open
JunpeakChen opened this issue Jun 27, 2024 · 0 comments
Open

Error occurred when executing LayerMask: SegmentAnythingUltra: #143

JunpeakChen opened this issue Jun 27, 2024 · 0 comments

Comments

@JunpeakChen
Copy link

Error occurred when executing LayerMask: SegmentAnythingUltra:

PytorchStreamReader failed reading zip archive: failed finding central directory

File "E:\Comfy UI\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "E:\Comfy UI\ComfyUI-aki-v1.3\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "E:\Comfy UI\ComfyUI-aki-v1.3\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "E:\Comfy UI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\segment_anything_ultra.py", line 42, in segment_anything_ultra
if SAM_MODEL is None: SAM_MODEL = load_sam_model(sam_model)
File "E:\Comfy UI\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\segment_anything_func.py", line 78, in load_sam_model
sam = sam_model_registrymodel_type
File "E:\Comfy UI\ComfyUI-aki-v1.3\python\lib\site-packages\segment_anything\build_sam.py", line 15, in build_sam_vit_h
return _build_sam(
File "E:\Comfy UI\ComfyUI-aki-v1.3\python\lib\site-packages\segment_anything\build_sam.py", line 105, in _build_sam
state_dict = torch.load(f)
File "E:\Comfy UI\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 1005, in load
with _open_zipfile_reader(opened_file) as opened_zipfile:
File "E:\Comfy UI\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 457, in init
super().init(torch._C.PyTorchFileReader(name_or_buffer))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant