ZHO-ZHO-ZHO / ComfyUI-YoloWorld-EfficientSAM

Unofficial implementation of YOLO-World + EfficientSAM for ComfyUI
GNU General Public License v3.0
522 stars 46 forks source link

failed finding central directory #35

Open tristan22mc opened 3 months ago

tristan22mc commented 3 months ago

At first was getting an error saying it couldnt find efficientsam_s_gpu.jit but then I downloaded the model and adjusted the naming to match what was being searched for and now getting the following error:

PytorchStreamReader failed reading zip archive: failed finding central directory

File "C:\Users\trist\Downloads\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\trist\Downloads\ComfyUI_windows_portable\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 "C:\Users\trist\Downloads\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\trist\Downloads\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-YoloWorld-EfficientSAM\YOLO_WORLD_EfficientSAM.py", line 98, in load_esam_model EFFICIENT_SAM_MODEL = torch.jit.load(model_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\trist\Downloads\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\jit_serialization.py", line 159, in load cpp_module = torch._C.import_ir_module(cu, str(f), map_location, _extra_files, _restore_shapes) # type: ignore[call-arg]

nguyencse commented 1 month ago

Hi @tristan22mc You downloaded wrong model. Use this link to download. https://huggingface.co/camenduru/YoloWorld-EfficientSAM/resolve/main/efficient_sam_s_gpu.jit?download=true