These codes are to run in caffe framework installed system. To install caffe you can visit the website 'http://caffe.berkeleyvision.org/'. The separate README files for ranking and the codes are placed in ranking and face_feature_extraction folders respectively.