You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error occurred when executing LayerMask: PersonMaskUltra V2:
cannot import name 'VitMatteImageProcessor' from 'transformers' (H:\ComfyUI-aki-v1.3\python\lib\site-packages\transformers_init_.py)
File "H:\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "H:\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 "H:\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 "H:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\person_mask_ultra_v2.py", line 154, in person_mask_ultra_v2
_mask = generate_VITMatte(orig_image, _trimap, local_files_only=local_files_only)
File "H:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 1087, in generate_VITMatte
vit_matte_model = load_VITMatte_model(model_name=model_name, local_files_only=local_files_only)
File "H:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 1075, in load_VITMatte_model
from transformers import VitMatteImageProcessor, VitMatteForImageMatting
The text was updated successfully, but these errors were encountered:
On Thu, Apr 25, 2024, 6:57 PM zhuolinj ***@***.***> wrote:
Error occurred when executing LayerMask: PersonMaskUltra V2:
cannot import name 'VitMatteImageProcessor' from 'transformers'
(H:\ComfyUI-aki-v1.3\python\lib\site-packages\transformers_*init*_.py)
File "H:\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "H:\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 "H:\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
"H:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\person_mask_ultra_v2.py",
line 154, in person_mask_ultra_v2
_mask = generate_VITMatte(orig_image, _trimap,
local_files_only=local_files_only)
File
"H:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line
1087, in generate_VITMatte
vit_matte_model = load_VITMatte_model(model_name=model_name,
local_files_only=local_files_only)
File
"H:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line
1075, in load_VITMatte_model
from transformers import VitMatteImageProcessor, VitMatteForImageMatting
—
Reply to this email directly, view it on GitHub
<#30>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AASZMMRN4YLAVJIBGGRH6R3Y7GKAFAVCNFSM6AAAAABGZZVJ5OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DINRXG42TMNY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
Error occurred when executing LayerMask: PersonMaskUltra V2:
cannot import name 'VitMatteImageProcessor' from 'transformers' (H:\ComfyUI-aki-v1.3\python\lib\site-packages\transformers_init_.py)
File "H:\ComfyUI-aki-v1.3\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "H:\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 "H:\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 "H:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\person_mask_ultra_v2.py", line 154, in person_mask_ultra_v2
_mask = generate_VITMatte(orig_image, _trimap, local_files_only=local_files_only)
File "H:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 1087, in generate_VITMatte
vit_matte_model = load_VITMatte_model(model_name=model_name, local_files_only=local_files_only)
File "H:\ComfyUI-aki-v1.3\custom_nodes\ComfyUI_LayerStyle\py\imagefunc.py", line 1075, in load_VITMatte_model
from transformers import VitMatteImageProcessor, VitMatteForImageMatting
The text was updated successfully, but these errors were encountered: