insightface
insightface copied to clipboard
inference_simple.py list index out of range
Hi , thank you for sharing your work I am trying to run the inference but getting this error File "insightface\reconstruction\jmlr\inference_simple.py", line 75, in init backbone_pth = sorted(ckpts)[-1] IndexError: list index out of range
The default code doesn't have config.ckpt, you should manually add it for quick inference.
- Download the pretrained model (backbone_ep9999.pth, check the Resource section in the README)
- Add
config.ckpt = "backbone_ep9999.pth"to theconfigs/base.py
Amaizing Thank you!