Open apophatique opened 3 years ago
What is a facebank.pth? I thought database is just a directory with images of faces, but in face_verify targets, names = load_facebank(conf)
targets, names = load_facebank(conf)
i see
def load_facebank(conf): embeddings = torch.load(conf.facebank_path/'facebank.pth')
Is this a model? Or what? Also i've got an error:
embeddings = torch.load(conf.facebank_path/'facebank.pth') TypeError: unsupported operand type(s) for /: 'str' and 'str'
What should i pass to the load_facebank and how to correctly get targens, names? Please tell me, thank you
Hey! I got the same error. Use --update flag with face_verify.py for the first time to build facebank.pth. Hope you get it!
What is a facebank.pth? I thought database is just a directory with images of faces, but in face_verify
targets, names = load_facebank(conf)
i see
Is this a model? Or what? Also i've got an error:
What should i pass to the load_facebank and how to correctly get targens, names? Please tell me, thank you