Skip to content

Instantly share code, notes, and snippets.

View alanse7en's full-sized avatar

Xuesong Deng alanse7en

View GitHub Profile
@shriphani
shriphani / convert_lfw_siamese_data.cpp
Last active December 4, 2016 15:12
Caffe LFW Training
//
// This script converts the lfw dataset to the leveldb format used
// by caffe to train siamese network.
// Usage:
// convert_lfw_data input_image_file input_label_file output_db_file
#include <fstream> // NOLINT(readability/streams)
#include <string>
#include "glog/logging.h"