normandipalo / faceid_beta Goto Github PK
View Code? Open in Web Editor NEWAn implementation of iPhone X's FaceID using face embeddings and siamese networks on RGBD images.
An implementation of iPhone X's FaceID using face embeddings and siamese networks on RGBD images.
Hi there, thanks for the .py version.
Hope you can help.
When running i get this error:
Traceback (most recent call last):
File ".\faceid.py", line 486, in
model_final.evaluate([cop[0].reshape((1,200,200,1)), cop[1].reshape((1,200,200,1))], np.array([0.]))
File "C:\Users\srei\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\engine\training.py", line 1768, in evaluate
batch_size=batch_size)
File "C:\Users\srei\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\engine\training.py", line 1476, in _standardize_user_data
exception_prefix='input')
File "C:\Users\srei\AppData\Local\Programs\Python\Python36\lib\site-packages\keras\engine\training.py", line 123, in _standardize_input_data
str(data_shape))
ValueError: Error when checking input: expected input_3 to have shape (200, 200, 4) but got array with shape (200, 200, 1)
Hi,
for your cell: [27]
you have: model_top = Model(inputs = [im_in], outputs = feat_x) ..
I'm curious what's the purpose of putting "[ ]" around im_in (since there is only one input) ?
Would : ... Model(inputs = im_in, ... also suffice ?
Thanks
There is no dataset now,
could you help us with this? Thank you.
Is the contrastive_loss func right?
I think maybe you need to change the postion of (1-y_true) and y_true
When I run the code, 433 lines of code get an error::
cannot reshape array of size 40000 into shape (1,200,200,4)
@normandipalo
Could you please share the python code as 1 or more files?
So it is a lot easier to try out.
Thanks
Hi I'm getting some strange issue using the program. I think that probably the version of tensorflow (cpu on ubuntu 16.04 with python 2.7 on both hardware with I7 and amd phenom) has some trouble. I'm getting some erratic behaviour. Can you please indicate "the best" version of tensorflow to use with the program ?
Thank you for your time.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.