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

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

Open
txhakelly opened this issue Jan 2, 2025 · 0 comments

Comments

@txhakelly
Copy link

model weight dtype torch.float16, manual cast: None
model_type EPS
Using xformers attention in VAE
Using xformers attention in VAE
VAE load device: cpu, offload device: cpu, dtype: torch.float32
Requested to load SDXLClipModel
loaded completely 9.5367431640625e+25 1560.802734375 True
CLIP model load device: cuda:0, offload device: cpu, current: cuda:0, dtype: torch.float16
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: E:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\models\insightface\models\antelopev2\1k3d68.onnx landmark_3d_68 ['None', 3, 192, 192] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: E:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\models\insightface\models\antelopev2\2d106det.onnx landmark_2d_106 ['None', 3, 192, 192] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: E:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\models\insightface\models\antelopev2\genderage.onnx genderage ['None', 3, 96, 96] 0.0 1.0
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: E:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\models\insightface\models\antelopev2\glintr100.onnx recognition ['None', 3, 112, 112] 127.5 127.5
Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}
find model: E:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\models\insightface\models\antelopev2\scrfd_10g_bnkps.onnx detection [1, 3, '?', '?'] 127.5 128.0
set det-size: (640, 640)
Loaded EVA02-CLIP-L-14-336 model config.
Shape of rope freq: torch.Size([576, 64])
Loading pretrained EVA02-CLIP-L-14-336 weights (eva_clip).
incompatible_keys.missing_keys: ['visual.rope.freqs_cos', 'visual.rope.freqs_sin', 'visual.blocks.0.attn.rope.freqs_cos', 'visual.blocks.0.attn.rope.freqs_sin', 'visual.blocks.1.attn.rope.freqs_cos', 'visual.blocks.1.attn.rope.freqs_sin', 'visual.blocks.2.attn.rope.freqs_cos', 'visual.blocks.2.attn.rope.freqs_sin', 'visual.blocks.3.attn.rope.freqs_cos', 'visual.blocks.3.attn.rope.freqs_sin', 'visual.blocks.4.attn.rope.freqs_cos', 'visual.blocks.4.attn.rope.freqs_sin', 'visual.blocks.5.attn.rope.freqs_cos', 'visual.blocks.5.attn.rope.freqs_sin', 'visual.blocks.6.attn.rope.freqs_cos', 'visual.blocks.6.attn.rope.freqs_sin', 'visual.blocks.7.attn.rope.freqs_cos', 'visual.blocks.7.attn.rope.freqs_sin', 'visual.blocks.8.attn.rope.freqs_cos', 'visual.blocks.8.attn.rope.freqs_sin', 'visual.blocks.9.attn.rope.freqs_cos', 'visual.blocks.9.attn.rope.freqs_sin', 'visual.blocks.10.attn.rope.freqs_cos', 'visual.blocks.10.attn.rope.freqs_sin', 'visual.blocks.11.attn.rope.freqs_cos', 'visual.blocks.11.attn.rope.freqs_sin', 'visual.blocks.12.attn.rope.freqs_cos', 'visual.blocks.12.attn.rope.freqs_sin', 'visual.blocks.13.attn.rope.freqs_cos', 'visual.blocks.13.attn.rope.freqs_sin', 'visual.blocks.14.attn.rope.freqs_cos', 'visual.blocks.14.attn.rope.freqs_sin', 'visual.blocks.15.attn.rope.freqs_cos', 'visual.blocks.15.attn.rope.freqs_sin', 'visual.blocks.16.attn.rope.freqs_cos', 'visual.blocks.16.attn.rope.freqs_sin', 'visual.blocks.17.attn.rope.freqs_cos', 'visual.blocks.17.attn.rope.freqs_sin', 'visual.blocks.18.attn.rope.freqs_cos', 'visual.blocks.18.attn.rope.freqs_sin', 'visual.blocks.19.attn.rope.freqs_cos', 'visual.blocks.19.attn.rope.freqs_sin', 'visual.blocks.20.attn.rope.freqs_cos', 'visual.blocks.20.attn.rope.freqs_sin', 'visual.blocks.21.attn.rope.freqs_cos', 'visual.blocks.21.attn.rope.freqs_sin', 'visual.blocks.22.attn.rope.freqs_cos', 'visual.blocks.22.attn.rope.freqs_sin', 'visual.blocks.23.attn.rope.freqs_cos', 'visual.blocks.23.attn.rope.freqs_sin']
!!! 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:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\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 "E:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\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 "E:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "E:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "E:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\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:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\python\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:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\python\lib\site-packages\torchvision\transforms\v2\functional_geometry.py", line 214, in resize_image
interpolation = _check_interpolation(interpolation)
File "E:\StableDiffusion\ComfyUI\ComfyUI-aki-v1.5\ComfyUI-aki-v1.5\python\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.

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