GithubHelp home page GithubHelp logo

leoputera2407 / missing_child Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.76 MB

A Machine Learning Project to detect kinship relationship to help missing children re-unite with their parents

Python 93.36% JavaScript 6.64%

missing_child's Introduction

What is our project?

We aim to reunite children with their parents after disaster. By equipping every shelter / disaster relief site with a node in the network and a camera, we use kinship verification technology to match children with their mother and father.

Hypothesis

The hypothesis of this project is that the age-invariant features of children are inherited from parents. By inferring from these features, we may tell whether a child is related to a father-mother pair.

Architecture

We utilize transfer learning by extracting age-invariant features from the mother, father and child. We learn a comparison function by the use of fully-connected and concatenation layer. Our approach is to compare the father and child, and the mother and child. Then, these comparisons are concatenated, and are inferred from to obtain a final relatedness score (0-1).

Network Architecture

results

Date Dataset Model Validation Acc Validation Loss Training Acc starting LR Epochs Batch size Batches per epoch Notes Weights filename
Sep 5 2019 FIW model_v3 90.26% 0.389 91.37% 0.0001 2410 50 F-M-C(+)-C(-) pairs 20 Reduced LR on plateau after a patience of 75 epochs src/ml/saved_model_weights/v3_weights.2409-0.39.hdf5
Sep 1 2019 FIW model_v3 86.57% 0.495 99.05% 0.0001 2134 50 F-M-C(+)-C(-) pairs 20 Reduced LR on plateau after a patience of 75 epochs src/ml/saved_model_weights/v3_weights.2134-0.50.hdf5

Note: to use the model weights, you must point the model saver (see train_model_v3.py) to the location of the weights.

TODO

Things we need to do:

  • Implement more loss functions if needed (e.g. crossentropy?)
  • Visualize using tensorboard.
  • Finish train_model.py and model.py
  • Implement data loader class to load images from FIW / other dataset
  • Implement algorithm to sample (MF-C) pairs used in triplet pairs
  • Fix training bug in tensorflow - (multiple forward passes result in weight update)
  • Try reducing LR on plateau after 80 epochs

Papers used:

Look Across Elapse

 @article{zhao2018look,
      title={Look Across Elapse: Disentangled Representation Learning and Photorealistic Cross-Age Face Synthesis for Age-Invariant Face Recognition},
      author={Zhao, Jian and Cheng, Yu and Cheng, Yi and Yang, Yang and Lan, Haochong and Zhao, Fang and Xiong, Lin and Xu, Yan and Li, Jianshu and Pranata, Sugiri and others},
      journal={AAAI},
      year={2019}
      }

missing_child's People

Contributors

willyspinner avatar leoputera2407 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.