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

pillow problem #24

Open
ZSM2MTROY opened this issue Nov 3, 2024 · 2 comments
Open

pillow problem #24

ZSM2MTROY opened this issue Nov 3, 2024 · 2 comments

Comments

@ZSM2MTROY
Copy link

Argument interpolation should be an InterpolationMode or a corresponding Pillow integer constant, but got InterpolationMode.BICUBIC.

@ZSM2MTROY
Copy link
Author

!!! Exception during processing !!! Argument interpolation should be an InterpolationMode or a corresponding Pillow integer constant, but got InterpolationMode.BICUBIC.
Traceback (most recent call last):
File "E:\blibli comfyui\execution.py", line 323, 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 "E:\blibli comfyui\execution.py", line 198, 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 "E:\blibli comfyui\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "E:\blibli comfyui\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\blibli comfyui\custom_nodes\SDXL_EcomID_ComfyUI\EcomID.py", line 528, in apply_EcomID
face_features_image = T.functional.resize(face_features_image, eva_clip.image_size,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\blibli comfyui.ext\Lib\site-packages\torchvision\transforms\v2\functional_geometry.py", line 188, in resize
return kernel(inpt, size=size, interpolation=interpolation, max_size=max_size, antialias=antialias)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\blibli comfyui.ext\Lib\site-packages\torchvision\transforms\v2\functional_geometry.py", line 214, in resize_image
interpolation = _check_interpolation(interpolation)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\blibli comfyui.ext\Lib\site-packages\torchvision\transforms\v2\functional_geometry.py", line 34, in _check_interpolation
raise ValueError(
ValueError: Argument interpolation should be an InterpolationMode or a corresponding Pillow integer constant, but got InterpolationMode.BICUBIC.

@dee0210
Copy link

dee0210 commented Nov 17, 2024

解决了吗

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