TreB1eN / InsightFace_Pytorch

Pytorch0.4.1 codes for InsightFace
MIT License
1.72k stars 418 forks source link

where is the model_final.pth? #90

Open dragon558 opened 4 years ago

dragon558 commented 4 years ago

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?

Againhieason commented 4 years ago

Did you found it?

kadirbeytorun commented 4 years ago

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

zf123456789 commented 4 years ago

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