TreB1eN / InsightFace_Pytorch

Pytorch0.4.1 codes for InsightFace
MIT License
1.74k stars 423 forks source link

TypeError: invalid file: WindowsPath('work_space/save/model_ir_se50.pth') #59

Closed WMQIAN closed 5 years ago

WMQIAN commented 5 years ago

When I run face_verify.py, the error occured. Can you give me some advice? Thanks for replying.

njho commented 4 years ago

Hi! @WMQIAN What was the solution?

ThanhPham1987 commented 4 years ago

Hi @WMQIAN Please tell solution Best regards, PeterPham

haoyu-bu commented 4 years ago

For me, switching from Python 3.5 to Python 3.6 or later solved the problem. Check this post.