InsightFace_Pytorch icon indicating copy to clipboard operation
InsightFace_Pytorch copied to clipboard

where is the model_final.pth?

Open dragon558 opened this issue 5 years ago • 3 comments

in face_verify.py file: if conf.device.type == 'cpu': learner.load_state(conf, 'cpu_final.pth', True, True) else: learner.load_state(conf, 'final.pth', True, True) but i can not find the cup_final.pth nether the final.pth. Could anyone tell me where i can get these files?

dragon558 avatar Jul 25 '19 08:07 dragon558

Did you found it?

Againhieason avatar Aug 09 '19 08:08 Againhieason

you basically need to copy mobilenet or irse50 pth file to to that folder, and rename it. if you use irse you need to set use_mobilenet parameter in config to False

kadirbeytorun avatar Sep 13 '19 08:09 kadirbeytorun

I have copied two mobilenet pth and irse50 pth file before, may I ask how to modify the filename?

zf123456789 avatar Sep 22 '19 11:09 zf123456789