This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cpp-package]Update readme#8655 (#8746)
- Loading branch information
Showing
2 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
# MxNet C++ Package | ||
# MXNet C++ Package | ||
|
||
<!-- | ||
[](https://travis-ci.org/dmlc/MXNet.cpp) | ||
[](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. |
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
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`. |