Open bin-x opened 6 months ago
model path should be the checkpoint path,not the dress model picture path
model path should be the checkpoint path,not the dress model picture path
how can i get the checkpoint ?
Download from huggingface - https://huggingface.co/ShineChen1024/MagicClothing/tree/main
Used following command and got the same error:
python inference.py --cloth_path images/a0.jpg --model_path checkpoints/cloth_segm.pth
i use mac, can't use cuda, so I change device to "cpu", then I run inference.py, it return errors: safetensors_rust.SafetensorError: Error while deserializing header: HeaderTooLarge
$ python inference.py --cloth_path images/garment/00055_00.jpg --model_path images/model/01008_00.jpg