Comments (8)
Hi!
Sorry for the delayed response...
Which revision of the facenet repository are you running?
From the error message it looks like a tensor name between the stored model and the creation of the network differs.
I just tried with the latest and that one seems to work fine.
from facenet.
Hi, David!
Thank you, it works now. I would also like to ask some questions about the implementation details. Do you have time? Should I do it here in the comments? Or email/skype/facebook is better?
from facenet.
Hi,
Great that it works!
Feel free to ask questions in this thread.
from facenet.
The main question is about training loop here.
- On line 147 you start iterating over the epochs and for every epoch you call train() function.
- On line 175 you start iterating over the batches
- but for some reason from line 202 you iterate over batches again.
Why do you need to iterate over batches inside every batch iteration?
from facenet.
This is a little confusing in the code and has to do with the fact that the facenet paper uses a batch size of 40_45 examples. But this requires quite a bit of GPU memory and to still be able to train using 40_45 examples the batch is split into fragments and processed sequentially in the code.
from facenet.
Got it. Thanks. Have you tried smaller batches? Does it dramatically affect the performance?
from facenet.
I haven't experimented with different batch sizes so I don't have a feel for how it affects performance.
from facenet.
Okay. Thanks for all the comments.
from facenet.
Related Issues (20)
- error Found array with 0 sample(s) (shape=(0, 512)) while a minimum of 1 is required HOT 1
- command not found error (while trying align the LFW dataset)
- ValueError: Node 'gradients/InceptionResnetV1/Bottleneck/BatchNorm/cond/FusedBatchNorm_1_grad/FusedBatchNormGrad' has an _output_shapes attribute inconsistent with the GraphDef for output #3: Dimension 0 in both shapes must be equal, but are 0 and 512. Shapes are [0] and [512]. HOT 4
- TypeError: true_fn and false_fn arguments to tf.cond must have the same number, type, and overall structure of return values
- does facenet support docker HOT 1
- About tensorflow -v2.8.0, I have a error. HOT 1
- Validation loss
- ve
- How to make inference on a single image? HOT 1
- Bounding box is inaccurate HOT 2
- Error in Loading checkpoint file for facenet512
- Unable to open file (file signature not found) HOT 1
- CASIA Webface Dataset Link Needs Updating
- Incorrect bounding box
- Issue with Tensor Names in DeepSORT Integration with FaceNET Model
- Unable to use .pb in tensorflow's java api
- Unable to convert onnx model to TRT model
- ValueError: Node 'gradients/InceptionResnetV1/Bottleneck/BatchNorm/cond/FusedBatchNorm_1_grad/FusedBatchNormGrad' has an _output_shapes attribute inconsistent with the GraphDef for output #3: Dimension 0 in both shapes must be equal, but are 0 and 512. Shapes are [0] and [512]. HOT 1
- Request for Weight Files in faceswap-GAN Project
- How to add visualization to train_tripletloss.py
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.