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

[Example] Update cpp example README #13280

Merged
merged 23 commits into from
Nov 16, 2018
Merged
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
a9d40c4
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 18, 2018
429684a
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 19, 2018
602b7d0
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 20, 2018
85f9408
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 27, 2018
5a01234
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 28, 2018
8f58746
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Sep 28, 2018
1531594
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 2, 2018
3e799de
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 8, 2018
f690c69
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 8, 2018
a091a97
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 9, 2018
f1359be
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 11, 2018
e360853
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 11, 2018
23199d1
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 12, 2018
166c2b6
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 16, 2018
d01e8cb
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 24, 2018
0454017
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Oct 26, 2018
90f1dd8
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Nov 1, 2018
2f019cd
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Nov 6, 2018
ec075f5
Merge branch 'master' of https://github.com/apache/incubator-mxnet
stu1130 Nov 13, 2018
8bfcba1
update the README to solve the library cannot find problem
stu1130 Nov 15, 2018
b9384bc
fix the broken format
stu1130 Nov 15, 2018
4b2099e
remove redundancy and broken format
stu1130 Nov 15, 2018
695155c
add .
stu1130 Nov 15, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cpp-package/example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ By default, the examples are built to be run on GPU. To build examples to run on

The examples that are built to be run on GPU may not work on the non-GPU machines.
The makefile will also download the necessary data files and store in a data folder. (The download will take couple of minutes, but will be done only once on a fresh installation.)
Before runing examples, make sure **LD\_LIBRARY\_PATH** environment variable setup correctly. For example `export LD_LIBRARY_PATH=/usr/local/cuda/lib64:/home/ubuntu/incubator-mxnet/lib` on ubuntu using gpu.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bit repetitive with line 24, could you move the example there?



## Examples
Expand All @@ -26,9 +27,9 @@ This directory contains following examples. In order to run the examples, ensure

The example implements the C++ version of AlexNet. The networks trains on MNIST data. The number of epochs can be specified as a command line argument. For example to train with 10 epochs use the following:

```
build/alexnet 10
```
```
build/alexnet 10
```

### [googlenet.cpp](<https://github.com/apache/incubator-mxnet/blob/master/cpp-package/example/googlenet.cpp>)

Expand Down