This example shows how to extract features with a pretrained model.
You can first get a pretrained model from https://github.com/dmlc/mxnet-model-gallery/blob/master/imagenet-1k-inception-bn.md, then prepare 2 pictures 1.jpg and 2.jpg to extract by executing run.sh.
Note:
feature_extract.cpp should be updated accordingly.libmxnet.so in ../lib/linux.