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

How to deal with it! #741

Open
goodluck821 opened this issue Oct 23, 2024 · 0 comments
Open

How to deal with it! #741

goodluck821 opened this issue Oct 23, 2024 · 0 comments

Comments

@goodluck821
Copy link

got prompt
Using split attention in VAE
Using split attention in VAE
model weight dtype torch.float16, manual cast: None
model_type EPS
Using split attention in VAE
Using split attention in VAE
Warning torch.load doesn't support weights_only on this pytorch version, loading unsafely.
!!! 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 "J:\ComfyUI-aki-v1.4\execution.py", line 317, 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 "J:\ComfyUI-aki-v1.4\execution.py", line 192, 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 "J:\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "J:\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_IPAdapter_plus\IPAdapterPlus.py", line 1470, in make_noise
image = transforms(image_optional.permute([0,3,1,2])).permute([0,2,3,1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\venv\Lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\venv\Lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\venv\Lib\site-packages\torchvision\transforms\v2_container.py", line 51, in forward
outputs = transform(*inputs)
^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\venv\Lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\venv\Lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\venv\Lib\site-packages\torchvision\transforms\v2_transform.py", line 51, in forward
self._transform(inpt, params) if needs_transform else inpt
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\venv\Lib\site-packages\torchvision\transforms\v2_geometry.py", line 145, in _transform
return self._call_kernel(
^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\venv\Lib\site-packages\torchvision\transforms\v2_transform.py", line 35, in _call_kernel
return kernel(inpt, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\venv\Lib\site-packages\torchvision\transforms\v2\functional_geometry.py", line 214, in resize_image
interpolation = _check_interpolation(interpolation)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "J:\ComfyUI-aki-v1.4\venv\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.

Pillow 10.4.0
torchvision 0.19.1

The two are incompatible?How do I deal with it?

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

1 participant