Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file facebank.pth #172

Open
apophatique opened this issue Apr 20, 2021 · 1 comment
Open

No such file facebank.pth #172

apophatique opened this issue Apr 20, 2021 · 1 comment

Comments

@apophatique
Copy link

apophatique commented Apr 20, 2021

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

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

@ravichopra0107
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants