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: PersonMaskUltra V2: #30

Closed
zhuolinj opened this issue Apr 25, 2024 · 1 comment
Closed

Error occurred when executing LayerMask: PersonMaskUltra V2: #30

zhuolinj opened this issue Apr 25, 2024 · 1 comment

Comments

@zhuolinj
Copy link

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

@djbielejeski
Copy link
Owner

djbielejeski commented Apr 26, 2024 via email

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

2 participants