Open AB00k opened 6 months ago
Here's the complete error
Error occurred when executing MagicClothing_Generate:
expected str, bytes or os.PathLike object, not NoneType
File "/content/ComfyUI/execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "/content/ComfyUI/execution.py", line 81, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "/content/ComfyUI/execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "/content/ComfyUI/custom_nodes/ComfyUI_MagicClothing/nodes.py", line 215, in garment_generation ip_model = IPAdapterFaceID(pipe, folder_paths.get_full_path("magic_cloth_checkpoint", model_path), ip_ckpt, device, enable_cloth_guidance) File "/content/ComfyUI/custom_nodes/ComfyUI_MagicClothing/garment_adapter/garment_ipadapter_faceid.py", line 134, in init self.load_ip_adapter() File "/content/ComfyUI/custom_nodes/ComfyUI_MagicClothing/garment_adapter/garment_ipadapter_faceid.py", line 198, in load_ip_adapter if os.path.splitext(self.ip_ckpt)[-1] == ".safetensors": File "/usr/lib/python3.10/posixpath.py", line 118, in splitext p = os.fspath(p)
This usually means that you have not downloaded the ipadapter lora or bin.
@xpluscal I do have downloaded all the models and placed them according to the following structure. ComfyUI |-- models | |-- ipadapter | | |-- ip-adapter-faceid-plus_sd15.bin | | |-- ip-adapter-faceid-plusv2_sd15.bin | | |-- ip-adapter-faceid_sd15.bin | |-- loras | | |-- ip-adapter-faceid-plus_sd15_lora.safetensors | | |-- ip-adapter-faceid-plusv2_sd15_lora.safetensors | | |-- ip-adapter-faceid_sd15_lora.safetensors |-- custom_nodes | |-- ComfyUI_MagicClothing | | |-- checkpoints | | | |-- cloth_segm.pth | | | |-- magic_clothing_768_vitonhd_joint.safetensors | | | |-- OMS_1024_VTHD+DressCode_200000.safetensors | | | |-- stable_ckpt | | | | |-- garment_extractor.safetensors | | | | |-- ip_layer.pth
try update the IPAdapter custom code
@frankchieng how do I can update the IPAdapter custom code?
I'm having this error from past couple of days and I have tired out everything I could but still it's not resolved, I'm using colab and bellow is the colab notebook I have created please have a look and let me know if there is anything I could be doing wrong.
https://colab.research.google.com/drive/1GfG1JavtzZsRpugXrUJZ5vNInhS3wlKB?usp=sharing