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

Please add FLUX ClipVision guides and how to get it caught if each ClipVision image has an FLUX encoder #6180

Open
KISSEsWHISPERsFEEtBACKHUGs opened this issue Dec 23, 2024 · 0 comments
Labels
Feature A new feature to add to ComfyUI.

Comments

@KISSEsWHISPERsFEEtBACKHUGs

Feature Idea

Next to nothing can encode a waifu wallpaper for a FLUX checkpoint? Please upload an ClipVision SFT encoder image for those like myself as a FLUX user on Comfy

Existing Solutions

No existing ClipVision encoder solutions are working for FLUX UNet ckpts

Other

Related errors explaining that missing feature

!!! Exception during processing !!! 'NoneType' object has no attribute 'encode_image'
Traceback (most recent call last):
  File "/opt/local/.8A/terminal/ComfyAI/ComfyUI/execution.py", line 328, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/.8A/terminal/ComfyAI/ComfyUI/execution.py", line 203, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/.8A/terminal/ComfyAI/ComfyUI/execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "/opt/local/.8A/terminal/ComfyAI/ComfyUI/execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/local/.8A/terminal/ComfyAI/ComfyUI/nodes.py", line 990, in encode
    output = clip_vision.encode_image(image, crop=crop_image)
             ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'encode_image'

fatal: No names found, cannot describe anything.
@KISSEsWHISPERsFEEtBACKHUGs KISSEsWHISPERsFEEtBACKHUGs added the Feature A new feature to add to ComfyUI. label Dec 23, 2024
@KISSEsWHISPERsFEEtBACKHUGs KISSEsWHISPERsFEEtBACKHUGs changed the title Please add ClipVision guides and how to get it caught if each ClipVision image has an encoder Please add FLUX ClipVision guides and how to get it caught if each ClipVision image has an encoder Dec 23, 2024
@KISSEsWHISPERsFEEtBACKHUGs KISSEsWHISPERsFEEtBACKHUGs changed the title Please add FLUX ClipVision guides and how to get it caught if each ClipVision image has an encoder Please add FLUX ClipVision guides and how to get it caught if each ClipVision image has an FLUX encoder Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature A new feature to add to ComfyUI.
Projects
None yet
Development

No branches or pull requests

1 participant