facenet_pytorch
facenet_pytorch copied to clipboard
PyTorch implementation of the paper "FaceNet: A Unified Embedding for Face Recognition and Clustering"
Hello, author, can you tell me the running environment of this code?Examples include the Python version and the PyTorch version.
Dear @liorshk, Thank you for your code. Do you have any pre-trained models? Would you please, release the weights of your pre-trained models?
> out_selected_a = Variable(torch.from_numpy(out_a.cpu().data.numpy()[hard_triplets]).cuda()) > out_selected_p = Variable(torch.from_numpy(out_p.cpu().data.numpy()[hard_triplets]).cuda()) > out_selected_n = Variable(torch.from_numpy(out_n.cpu().data.numpy()[hard_triplets]).cuda()) will lead to > RuntimeError: element 0 of tensors does not require grad and does not have a...
Hello, would you please tell why do it like this?
Hi @liorshk Thanks for sharing your code. It seems clean and well-written, however, I had problem having it converge. I trained it on filtered version of MsCeleb with 5 Million...
Hello, I try to run your code. However, i cannot find the download link for, would you mind sharing me this link. In addition, i want to check is the...
Why do you create pairwise function instead of pytorch's nn.PairwiseDistance? I changed pairwise function with `nn.PairwiseDistance` but evaluating is not working. (Too slow!) Do you have any idea about this?