This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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" |