All Projects → meownoid → Face Identification Tpe

meownoid / Face Identification Tpe

Licence: mit
Face identification with CNN + TPE using Keras

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Face Identification Tpe

Deep Learning With Python
Deep learning codes and projects using Python
Stars: ✭ 195 (-6.25%)
Mutual labels:  cnn
Halite Ii
Season 2 of @twosigma's artificial intelligence programming challenge
Stars: ✭ 201 (-3.37%)
Mutual labels:  machine-learning-algorithms
Raspberrypi Facedetection Mtcnn Caffe With Motion
MTCNN with Motion Detection, on Raspberry Pi with Love
Stars: ✭ 204 (-1.92%)
Mutual labels:  cnn
Ailearnnotes
Artificial Intelligence Learning Notes.
Stars: ✭ 195 (-6.25%)
Mutual labels:  cnn
Deepsleepnet
DeepSleepNet: a Model for Automatic Sleep Stage Scoring based on Raw Single-Channel EEG
Stars: ✭ 200 (-3.85%)
Mutual labels:  cnn
Dynamic routing between capsules
Implementation of Dynamic Routing Between Capsules, Sara Sabour, Nicholas Frosst, Geoffrey E Hinton, NIPS 2017
Stars: ✭ 202 (-2.88%)
Mutual labels:  cnn
Liteflownet2
A Lightweight Optical Flow CNN - Revisiting Data Fidelity and Regularization, TPAMI 2020
Stars: ✭ 195 (-6.25%)
Mutual labels:  cnn
Facelet bank
Facelet-Bank for Fast Portrait Manipulation (pytorch)
Stars: ✭ 206 (-0.96%)
Mutual labels:  cnn
Pratik Derin Ogrenme Uygulamalari
Çeşitli kütüphaneler kullanılarak Türkçe kod açıklamalarıyla TEMEL SEVİYEDE pratik derin öğrenme uygulamaları.
Stars: ✭ 200 (-3.85%)
Mutual labels:  cnn
Awesome Deep Learning And Machine Learning Questions
【不定期更新】收集整理的一些网站中(如知乎、Quora、Reddit、Stack Exchange等)与深度学习、机器学习、强化学习、数据科学相关的有价值的问题
Stars: ✭ 203 (-2.4%)
Mutual labels:  machine-learning-algorithms
Deeptam
DeepTAM: Deep Tracking and Mapping https://lmb.informatik.uni-freiburg.de/people/zhouh/deeptam/
Stars: ✭ 198 (-4.81%)
Mutual labels:  cnn
Cnn 3d Images Tensorflow
3D image classification using CNN (Convolutional Neural Network)
Stars: ✭ 199 (-4.33%)
Mutual labels:  cnn
Iseebetter
iSeeBetter: Spatio-Temporal Video Super Resolution using Recurrent-Generative Back-Projection Networks | Python3 | PyTorch | GANs | CNNs | ResNets | RNNs | Published in Springer Journal of Computational Visual Media, September 2020, Tsinghua University Press
Stars: ✭ 202 (-2.88%)
Mutual labels:  cnn
Lq Nets
LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networks
Stars: ✭ 195 (-6.25%)
Mutual labels:  cnn
Screenshot To Code
A neural network that transforms a design mock-up into a static website.
Stars: ✭ 13,561 (+6419.71%)
Mutual labels:  cnn
Dynaml
Scala Library/REPL for Machine Learning Research
Stars: ✭ 195 (-6.25%)
Mutual labels:  machine-learning-algorithms
Cyclegan Music Style Transfer
Symbolic Music Genre Transfer with CycleGAN
Stars: ✭ 201 (-3.37%)
Mutual labels:  cnn
Deeplearningc
Simple program to learn CNN (LeNet-5) in pure C
Stars: ✭ 206 (-0.96%)
Mutual labels:  cnn
Tensorflow Computer Vision Tutorial
Tutorials of deep learning for computer vision.
Stars: ✭ 206 (-0.96%)
Mutual labels:  cnn
Bonnetal
Bonnet and then some! Deep Learning Framework for various Image Recognition Tasks. Photogrammetry and Robotics Lab, University of Bonn
Stars: ✭ 202 (-2.88%)
Mutual labels:  cnn

Face identification using CNN + TPE

NOTE: This repository is archived and will no longer be updated.

This repository contains an implementation of the Triplet Probabilistic Embedding for Face Verification and Clustering paper.

demo application screenshot

Installation

git clone https://github.com/meownoid/face-identification-tpe.git
cd face-identification-tpe
python -m pip install -r requirements.txt

Usage

NOTE: Pre-trained model was trained using very small dataset and achieves poor performance. It can't be used in any real-world application and is intended for education purposes only.

To start application with the pre-trained weights download all assets and put them to the model directory (default path) or to the any other directory.

Then you can start the application.

python application.py

If you placed assets to the other directory, specify path with the --model-path argument.

python application.py --model-path /path/to/assets/

Training

NOTE: Training code was written a long time ago and have a lot of hard-coded constants in it. Using it now on new dataset will be very difficult, so please, don't try. You can read it and use it as a reference or you can just use CNN and TPE definitions and write custom training code.

I'm leaving this here just for the sake of history.

  1. Download assets face_template.npy and shape_predictor_68_face_landmarks.dat from here and put them to the model dir.

  2. Place train, test and evaluation (named dev) data to the data folder using following structure.

data\
    dev\
        person_0\
            1.jpg
            2.jpg
            ...
        person_1\
            1.jpg
            2.jpg
            ...
        ...
    test\
        person_0\
            1.jpg
            2.jpg
            ...
        person_1\
            1.jpg
            2.jpg
            ...
        ...
    train\
        person_0\
            1.jpg
            2.jpg
            ...
        person_1\
            1.jpg
            2.jpg
            ...
        ...

All images in the person_{i} folder inside train and test directories must contain faces of the same person.

  1. Run python 0_load_data.py
  2. Train the CNN with python 1_train_cnn.py
  3. Optionally test the CNN with python 2_test_cnn.py
  4. Train the TPE with python 3_train_tpe.py
  5. Optionally test the TPE with python 4_test_tpe.py
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].