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

setting custom mask token breaks node #22

Open
BlenderNeko opened this issue Nov 5, 2023 · 1 comment
Open

setting custom mask token breaks node #22

BlenderNeko opened this issue Nov 5, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@BlenderNeko
Copy link
Owner

Error occurred when executing BNK_CutoffRegionsToConditioning_ADV:

'SD1Tokenizer' object has no attribute 'tokenizer'

File "D:\test/ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "D:\test/ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "D:\test/ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "D:\test\ComfyUI\custom_nodes\ComfyUI_Cutoff\cutoff.py", line 300, in finalize
return finalize_clip_regions(clip_regions, mask_token, strict_mask, start_from_masked, token_normalization, weight_interpretation)
File "D:\test\ComfyUI\custom_nodes\ComfyUI_Cutoff\cutoff.py", line 234, in finalize_clip_regions
mask_token = tokenizer.tokenizer(mask_token)['input_ids'][1:-1]
@BlenderNeko BlenderNeko self-assigned this Nov 5, 2023
@BlenderNeko BlenderNeko added the bug Something isn't working label Nov 5, 2023
@Wraithnaut
Copy link

Any progress on this? I've been curious what this feature does but I don't know what past version of ComfyUI and/or Python stuff I'd need for this to work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants