Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
[cpp-package]Update readme#8655 (#8746)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xin Li authored and piiswrong committed Nov 21, 2017
1 parent cace29f commit bbe078e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
12 changes: 8 additions & 4 deletions cpp-package/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# MxNet C++ Package
# MXNet C++ Package

<!--
[![Build Status](https://travis-ci.org/dmlc/MXNet.cpp.svg?branch=master)](https://travis-ci.org/dmlc/MXNet.cpp)
[![Build status](https://ci.appveyor.com/api/projects/status/ckfq6j53sg5ll01d/branch/master?svg=true)](https://ci.appveyor.com/project/lx75249/mxnet-cpp/branch/master)
-->

The examples dir containers examples for you to get started.
The lib dir should contain the compiled mxnet library.
Windows dir contains Visual C++ solution files and project files.
To build the package, please refer to <https://mxnet.incubator.apache.org/get_started/build_from_source.html#build-the-c-package>.

A basic tutorial can be found at <https://mxnet.incubator.apache.org/tutorials/c++/basics.html>.

The example directory contains examples for you to get started.
8 changes: 8 additions & 0 deletions cpp-package/example/feature_extract/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
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:
1. The filename of network parameters may vary, line 67 in `feature_extract.cpp` should be updated accordingly.
2. As the build system has changed a lot, to build this example, you need to put the compiled library `libmxnet.so` in `../lib/linux`.

0 comments on commit bbe078e

Please sign in to comment.