Skip to content

Commit

Permalink
Merge branch 'master' of github.com:khrlimam/facenet
Browse files Browse the repository at this point in the history
  • Loading branch information
khrlimam committed Jul 29, 2019
2 parents 453d288 + dbbad3d commit 3cdceda
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Facenet for face recognition using pytorch
- Pytorch implementation of the paper: "FaceNet: A Unified Embedding for Face Recognition and Clustering".
- Training of network is done using triplet loss.
- This work is modified in some functionality from the original work by [Taebong Moon](https://github.com/tbmoon/facenet) and then retrained for the purpose of completing my BS degree. The full report can be found at [Verifikasi Kemiripan Wajah Dengan _Deep Learning_ Menggunakan Arsitektur _Siamese_](https://github.com/khrlimam/skripsi/raw/master/pdfs/finishing.pdf)


# How to train/validate model
Expand All @@ -13,7 +14,7 @@

- Write list file of face images by running "datasets/write_csv_for_making_dataset.py"
- `python write_csv_for_making_dataset.py --root-dir=/path/to/dataset/dir --final-file=dataset.csv`
- `datasets/write_csv_for_making_dataset.py` is multiprocess version of previous `.ipynb`. This way generating csv dataset is faster.
- `datasets/write_csv_for_making_dataset.py` is multiprocess version of previous `.ipynb`. This way generating csv dataset is much faster.

- Train
- Again, one need to modify paths in accordance with location of image dataset.
Expand All @@ -32,7 +33,10 @@

- ROC curve on LFW datasets for validation

![roc curve](./log/tmp/roc_valid_epoch_39.png)
![roc curve](./log/tmp/roc.png)

- Test the model on 25 pair of images
![Test Result on 25 pair of images](./log/tmp/test-result.png)


# References
Expand Down

0 comments on commit 3cdceda

Please sign in to comment.