xinntao / facexlib

FaceXlib aims at providing ready-to-use face-related functions based on current STOA open-source methods.
MIT License
810 stars 143 forks source link

face recognition model ResNetArcFace import error #11

Open gqf126 opened 2 years ago

gqf126 commented 2 years ago

Could not import ResNetArcFace, cosin_metric, load_image in inference/inference_recognition.py

Jason-user commented 1 year ago

Use the function resnet_face18 at line 341 https://github.com/ronghuaiyang/arcface-pytorch/blob/master/models/resnet.py