All Projects → hizhangp → triplet

hizhangp / triplet

Licence: MIT license
Re-implementation of tripletloss function in FaceNet

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to triplet

triplet-loss-pytorch
Highly efficient PyTorch version of the Semi-hard Triplet loss ⚡️
Stars: ✭ 79 (-15.96%)
Mutual labels:  triplet-loss, triplet
caffe-conf-matrix
Python layer for the Caffe deep learning framework to compute the accuracy and the confusion matrix.
Stars: ✭ 20 (-78.72%)
Mutual labels:  caffe
Ide Baseline Market 1501
ID-discriminative Embedding (IDE) for Person Re-identification
Stars: ✭ 220 (+134.04%)
Mutual labels:  caffe
Senet
Squeeze-and-Excitation Networks
Stars: ✭ 2,850 (+2931.91%)
Mutual labels:  caffe
Dgd person reid
Domain Guided Dropout for Person Re-identification
Stars: ✭ 229 (+143.62%)
Mutual labels:  caffe
Change Detection Review
A review of change detection methods, including codes and open data sets for deep learning. From paper: change detection based on artificial intelligence: state-of-the-art and challenges.
Stars: ✭ 248 (+163.83%)
Mutual labels:  caffe
Dl inference
通用深度学习推理服务,可在生产环境中快速上线由TensorFlow、PyTorch、Caffe框架训练出的深度学习模型。
Stars: ✭ 209 (+122.34%)
Mutual labels:  caffe
score-zeroshot
Semantically consistent regularizer for zero-shot learning
Stars: ✭ 65 (-30.85%)
Mutual labels:  caffe
triplet-reid-pytorch
My implementation of the paper [In Defense of the Triplet Loss for Person Re-Identification]
Stars: ✭ 95 (+1.06%)
Mutual labels:  triplet
Cnnforandroid
The Convolutional Neural Network(CNN) for Android
Stars: ✭ 245 (+160.64%)
Mutual labels:  caffe
Mtcnn caffe
Simple implementation of kpzhang93's paper from Matlab to c++, and don't change models.
Stars: ✭ 244 (+159.57%)
Mutual labels:  caffe
Skimcaffe
Caffe for Sparse Convolutional Neural Network
Stars: ✭ 230 (+144.68%)
Mutual labels:  caffe
Cgnl Network.pytorch
Compact Generalized Non-local Network (NIPS 2018)
Stars: ✭ 252 (+168.09%)
Mutual labels:  caffe
Caffe2 Ios
Caffe2 on iOS Real-time Demo. Test with Your Own Model and Photos.
Stars: ✭ 221 (+135.11%)
Mutual labels:  caffe
mbus
基于RabbitMQ简单实现验证码识别平台,训练网络模型智能识别图形验证码
Stars: ✭ 37 (-60.64%)
Mutual labels:  caffe
Caffe Yolov3 Windows
A windows caffe implementation of YOLO detection network
Stars: ✭ 210 (+123.4%)
Mutual labels:  caffe
Retinaface
Reimplement RetinaFace use C++ and TensorRT
Stars: ✭ 241 (+156.38%)
Mutual labels:  caffe
Cnn face detection
Implementation based on the paper Li et al., “A Convolutional Neural Network Cascade for Face Detection, ” 2015 CVPR
Stars: ✭ 251 (+167.02%)
Mutual labels:  caffe
Image2LMDB
Convert image folder to lmdb, adapted from Efficient-PyTorch
Stars: ✭ 58 (-38.3%)
Mutual labels:  caffe
caffe weight converter
Caffe-to-Keras weight converter. Can also export weights as Numpy arrays for further processing.
Stars: ✭ 68 (-27.66%)
Mutual labels:  caffe

Triplet

This is the re-implementation of triplet loss function in Google's FaceNet paper.

Dataset

FaceScrub is used as traning dataset, you should modify sampledata.py to fit your dataset.

Setup

Rebuild your caffe directory:

cd $CAFFEROOT$
cp Makefile.configexample Makefile.config

Remember to uncomment the line to makesure your python layers could be found:

WITH_PYTHON_LAYER := 1

Then build caffe and pycaffe:

make all -j8 & make pycaffe

Usage

  1. Modify sampledata.py, config.py and train.py to fit your dataset and working environment.

  2. Pre-train your model with softmax loss.

  3. Finetune triplet model based on your pre-trained model.

  4. Learn to adjust parameters.

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].