aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 19 insertions, 11 deletions
diff --git a/README.md b/README.md
index 8c21bd9..fe9dfc1 100644
--- a/README.md
+++ b/README.md
@@ -1,24 +1,32 @@
#The Nerv Toolkit User Manual#
-NOTE: This readme is obsolete and will be rearranged, for further information, please check http://determinant.github.io/nerv/
+NOTE: This readme is obsolete and will be rearranged, for further information, please check http://nerv-sjtu.github.io/nerv/
This user manual will information about how to use __Nerv__ and __Nerv__'s interface.
-##How to use##
+##How to make and start using##
First make sure you have __lua__ and __CUDA__ installed on your computer.
__Nerv__ is currently developed via github.You can download and make __Nerv__ by doing the following:
```
cd ~
git clone https://github.com/Nerv-SJTU/nerv.git
cd nerv
-git clone https://github.com/Nerv-SJTU/nerv-speech.git speech
git submodule init && git submodule update
make
+#To include some new CUDA feature(e.x. atomicCAS), use "make CFLAGS=-D__NERV_FUTURE_CUDA_7"
+
+#further, if you want the speech modules
+git clone https://github.com/Nerv-SJTU/nerv-speech.git speech
make speech
```
The `git submodule` command is for the __luajit__ repository inside __Nerv__.
Now, you can try to run some example scripts.
```
-./nerv examples/cumatrix_example.lua
+./install/bin/nerv examples/cumatrix_example.lua
+```
+To get an example of DNN(for ASR) training, run(this requires the speech modules)
+You need to be at or (copy files from) `/slfs1`(SJTU speechlab cluster) to get this running.
+```
+./install/bin/nerv nerv/examples/asr_trainer.lua nerv/examples/swb_baseline.lua
```
##How to contribute##
@@ -28,19 +36,19 @@ The pull&merge request can be found on your dashboard in github. See this [sync-
##Nerv Packages##
* __luaT__
Nerv uses [luaT]\(a [Torch] library\) to define lua class in C.
-* __[The Nerv OOP](doc/nerv_class.md)__
+* __[The Nerv OOP](nerv/doc/nerv_class.md)__
Enables object-oriented programming in Nerv.
-* __[The Nerv utility functions](doc/nerv.md)__
+* __[The Nerv utility functions](nerv/doc/nerv.md)__
Inlcudes some utility functions from luaT to implement __Nerv.Class__.
-* __[The Nerv Matrix Package](doc/nerv_matrix.md)__
+* __[The Nerv Matrix Package](nerv/doc/nerv_matrix.md)__
The matrix package is a basic package in __Nerv__ that is used to store and manipulate matrices.
-* __[The Nerv IO Package](doc/nerv_io.md)__
+* __[The Nerv IO Package](nerv/doc/nerv_io.md)__
The IO package is used to read and write parameters to file.
-* __[The Nerv Parameter Package](doc/nerv_param.md)__
+* __[The Nerv Parameter Package](nerv/doc/nerv_param.md)__
The parameter package is used to store, read model parameters from file.
-* __[The Nerv Layer Package](doc/nerv_layer.md)__
+* __[The Nerv Layer Package](nerv/doc/nerv_layer.md)__
The layer package is used to define propagation and backpropagation of different type of layers.
-* __[The Nerv NN Package](doc/nerv_nn.md)__
+* __[The Nerv NN Package](nerv/doc/nerv_nn.md)__
The nn package is for organizing a neural network, it contains __nerv.LayerRepo__, __nerv.ParamRepo__, and __nerv.DAGLayer__.
[luaT]:https://github.com/torch/torch7/tree/master/lib/luaT
[Torch]:https://github.com/torch