chflame163 / ComfyUI_LayerStyle

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
MIT License
1.11k stars 59 forks source link

_pickle.UnpicklingError: invalid load key, 'v'. #197

Open xiumu1988 opened 1 month ago

xiumu1988 commented 1 month ago

图片

final text_encoder_type: bert-base-uncased !!! Exception during processing!!! invalid load key, 'v'. Traceback (most recent call last): File "D:\AI_Tools\ComfyUI-aki-v1.3\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "D:\AI_Tools\ComfyUI-aki-v1.3\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:\AI_Tools\ComfyUI-aki-v1.3\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(slice_dict(input_data_all, i))) File "D:\AI_Tools\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\segment_anything_ultra_v2.py", line 64, in segment_anything_ultra_v2 DINO_MODEL = load_groundingdino_model(grounding_dino_model) File "D:\AI_Tools\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\segment_anything_func.py", line 120, in load_groundingdino_model checkpoint = torch.load( File "D:\AI_Tools\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 1028, in load return _legacy_load(opened_file, map_location, pickle_module, pickle_load_args) File "D:\AI_Tools\ComfyUI-aki-v1.3\python\lib\site-packages\torch\serialization.py", line 1246, in _legacy_load magic_number = pickle_module.load(f, **pickle_load_args) _pickle.UnpicklingError: invalid load key, 'v'.

图片

chflame163 commented 1 month ago

Check the torch dependency package version, Also verify the GrandingDino model files.

HarikrishnanK9 commented 1 month ago

Currently facing Screenshot from 2024-08-09 12-11-54 similar issue _pickle.UnpicklingError: invalid load key, '<'.