Comments (7)
Hi, have you found the pre-trained model or a good way to convert from the tensorflow model to pytorch?
from facenet_pytorch.
@xiaoiker
You can use MMdnn or SphereFace.
from facenet_pytorch.
@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.
from facenet_pytorch.
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.
from facenet_pytorch.
@ahkarami
I'm curious about the SphereFace. Why do you recommend this?
from facenet_pytorch.
It is just a suggestion. You can refer to its paper for more information.
from facenet_pytorch.
@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.
from facenet_pytorch.
Related Issues (10)
- facenet pytorch is good
- What is the running environment for this code? HOT 1
- Model didn't converge. HOT 7
- Why do you create pairwise function instead of pytorch's nn.PairwiseDistance?
- The details of dataset using in train_cernter.py
- Bug: triplet loss
- PermissionError: [Errno 13] Permission denied: '/media/lior' HOT 1
- Why use " labels.append(np.ones(dists.size(0)))" in training? HOT 1
- RuntimeError: element 0 of tensors does not require grad and does not have a grad_fn
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facenet_pytorch.