Open ahkarami opened 6 years ago
Hi, have you found the pre-trained model or a good way to convert from the tensorflow model to pytorch?
@xiaoiker You can use MMdnn or SphereFace.
@ahkarami @xiaoiker I download the pretrain model from https://github.com/davidsandberg/facenet (20180402-114759) Then I install mmdnn Then I run this code mmconvert -sf tensorflow -in model-20180402-114759.meta -df pytorch -om 20180402-114759.pth Error:
Am I writing it wrong?
@xiaoiker You can use MMdnn or SphereFace.
Dear @chungyau97, Thank you for your effort. Really, I didn't do that (i.e., converting the model). You can send an Issue about it in the MMdnn GitHub repository.
@ahkarami I'm curious about the SphereFace. Why do you recommend this?
It is just a suggestion. You can refer to its paper for more information.
@xiaoiker @chungyau97 there is a pytorch conversion of the two pretrained inception resnet v1 models (vggface and casia-web face) from davidsandberg/facenet here:
https://github.com/timesler/facenet-pytorch
Disclaimer: it is my repo.
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?