I always got this error message, How to solve it? pls...

#2
by nanyhuang - opened

stat: path should be string, bytes, os.PathLike or integer, not NoneType

The model was not placed into the specified file

按照以下路径放置所需模型
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

Thank you Lin47.

按照以下路径放置所需模型
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

我按照你说的做了,可是依旧显示:Error occurred when executing MagicClothing_Generate:

stat: path should be string, bytes, os.PathLike or integer, not NoneType

Please carefully check if each model has been downloaded to the corresponding folder, and do not miss any one.

Sign up or log in to comment