Open xerium9 opened 10 months ago
Same for me, since today.
same here
Reinstall WAS-NS requirements. You've likely installed something else that upgraded transformers. Transformers abandoned BLIP 1 a long time ago. Documentation is stale and is broken on newer versions.
On Sun, Jan 14, 2024 at 1:48 PM rasooul @.***> wrote:
same here
— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/329#issuecomment-1891081735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZI7EQBINZ33H3LTBSLYORHCFAVCNFSM6AAAAABBZ64SF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGA4DCNZTGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Sincerely, Jordan S. C. Thompson
Thank you very much for your time, I had uninstalled the last nodes installed, but I hadn't thought of reinstalling the WAS dependencies, which I obviously should have done!
Euh, well it seems that it's comfy UI itself that upgraded transformers. (reinstalling the old version breaks ComfyUI).
Euh, well it seems that it's comfy UI itself that upgraded transformers. (reinstalling the old version breaks ComfyUI).
That's unfortunate. May mean currently WAS-NS is legacy ComfyUI versions only until I add a way to simply not include it in importing if it's not valid transformers version.
Same problem
I seem like Blip Analyse image does not support list of multiple images. I request to add list images or batch images support.
Переустановите требования WAS-NS. Вероятно, вы установили что-то еще, что обновило transformers. Transformers давно отказались от BLIP 1. Документация устарела и не работает в более новых версиях. … В воскресенье, 14 января 2024 г., в 13:48 rasooul @.> написал: то же самое здесь — Ответьте на это письмо напрямую, просмотрите его на GitHub <#329 (комментарий)> или отпишитесь < https://github.com/notifications/unsubscribe-auth/AAIZEZI7EQBINZ33H3LTBSLYORHCFAVCNFSM6AAAAABBZ64SF6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGA4DCNZTGU> . Вы получаете это, потому что вы подписаны на эту тему.Идентификатор сообщения.: @.>
- С уважением, Джордан С. К. Томпсон
how to do it?
Euh, well it seems that it's comfy UI itself that upgraded transformers. (reinstalling the old version breaks ComfyUI).
That's unfortunate. May mean currently WAS-NS is legacy ComfyUI versions only until I add a way to simply not include it in importing if it's not valid transformers version.
yeah, how to fix it? I'm designer so couldn understand how hard it is
This worked for me: 1: Shutdown ComfyUI 2: Run "install.bat" for the WAS Nodes. My location was: "ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui" It uninstalled a few Transformers and now the BLIP works. Didn't notice it installing anything, took about 2 minutes to run.
Note: Always make a full backup of your ComfyUI portable when doing these as it may break the whole thing.
Also, I found the solution here posted by the user 'orbithammer': https://github.com/WASasquatch/was-node-suite-comfyui/issues/289
https://github.com/WASasquatch/was-node-suite-comfyui/pull/393
Refactored BLIP
same problem
hey. i did the same way by reinstalling install.bat of was node. same error still showed up. can you pls help me ^^
Hello, I thought I'd do a quick post here since I can't seem to find this specific error as it relates to WAS. When I try to use very simply the BLIP analyze image node, I get the following error:
Error occurred when executing BLIP Analyze Image:
Cannot handle this data type: (1, 1, 768, 3), |u1
File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 155, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 85, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 78, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui.old\WAS_Node_Suite.py", line 11066, in blip_caption_image image = tensor2pil(image) File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\was-node-suite-comfyui.old\WAS_Node_Suite.py", line 355, in tensor2pil return Image.fromarray(np.clip(255. image.cpu().numpy().squeeze(), 0, 255).astype(np.uint8)) File "D:\ComfyUI_windows_portable\python_embeded\lib\site-packages\PIL\Image.py", line 3092, in fromarray raise TypeError(msg) from e
I have reinstalled WAS, reinstalled all the requirements.txt for both WAS and Comfyui. I have updated ComfyUI and all other possible updates.
Any insight on this would be awesome. Thanks