ZHO-ZHO-ZHO / ComfyUI-InstantID

Unofficial implementation of InstantID for ComfyUI
1.36k stars 78 forks source link

【图】运行失败,日志:AttributeError: 'str' object has no attribute 'shape' #114

Open vvip2u opened 9 months ago

vvip2u commented 9 months ago

logs:

  File "G:\aigc\comfy-ui-portable\ComfyUI\nodes.py", line 1440, in save_images
    full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(filename_prefix, self.output_dir, images[0].shape[1], images[0].shape[0])
                                                                                                                                           ^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'shape'

image

ioritree commented 8 months ago

same problem win11 cuda 12.2 python311 pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 pytorch-cuda=12.1