This example shows how to extract features with a pretrained model.
Execute run.sh to:
- Download a pretrained model
- Download sample pictures (
dog.jpgandcat.jpg) - Compile the files
- Execute the featurization on
dog.jpgandcat.jpg
Note:
- The filename of network parameters may vary, line 67 in
feature_extract.cppshould be updated accordingly. - You need to build MXNet from source to get access to the
lib/libmxnet.soor pointLD_LIBRARY_PATHto where it is installed in your system