cdc91a1325de9a59279c70421316855ef41c1842
examples/EMAN2_w_theano.md
... | ... | @@ -1,11 +1,11 @@ |
1 | -## Using the Theano python module in EMAN2 for neural network particle picking |
|
2 | -It is possible to use GPU-accelerated neural network particle picking in EMAN2 versions 2.2 and later in the SBGrid software installation. |
|
3 | -*First you must configure your machine with the Nvidia CUDA Toolkit and a configuration file describing your GPUs*. Due to distribution restrictions we cannot install Nvidia nvcc compilers directly. |
|
1 | +## GPU-accelerated Neural network particle picking in EMAN2 |
|
2 | +EMAN2 uses uses the Theano python module for GPU-accelerated neural network particle picking in versions 2.2 and later. |
|
3 | +This is possible with the SBGrid installation but *you must first configure your machine with the Nvidia CUDA Toolkit and a configuration file describing your GPUs*. Due to distribution restrictions we cannot install Nvidia nvcc compilers directly. |
|
4 | 4 | |
5 | -### Download and install the Nvidia CUDA Toolkit for CUDA |
|
5 | +### Download and install the Nvidia CUDA Toolkit |
|
6 | 6 | Because the Theano module installed in EMAN2 requires the nvcc compiler and these are not re-distributable, you must first download the Nvidia CUDA Toolkit. You can find that [here](https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=CentOS). It is not necessary to have administrator privileges to install this, but you may want to ask your local administrator to assist to ensure you have the proper drivers for your GPU. Nvidia driver installation requires admin privileges. |
7 | 7 | |
8 | -### Set the CUDA_HOME variable with a path to your installed CUDA Toolkit. |
|
8 | +### Set the CUDA_HOME variable |
|
9 | 9 | For Theano to find the Nvidia nvcc compiler and the CUDA libraries required, the CUDA_HOME variable must be set in your shell with the correct path to the CUDA Toolkit. |
10 | 10 | |
11 | 11 | If your CUDA Toolkit installation is at : /usr/local/cuda |
... | ... | @@ -20,9 +20,9 @@ In a **tcsh** shell: |
20 | 20 | setenv CUDA_HOME /usr/local/cuda |
21 | 21 | ``` |
22 | 22 | |
23 | -### Configure your ~/.theanorc for your GPUs |
|
23 | +### Configure your ~/.theanorc file |
|
24 | 24 | |
25 | -There are many options available for this and they are [described here](http://deeplearning.net/software/theano/library/config.html#envvar-THEANORC) |
|
25 | +The ~/.theanorc file specifies the configuration attributes for theano. There are many options available for this and they are [described in detail here](http://deeplearning.net/software/theano/library/config.html#envvar-THEANORC) |
|
26 | 26 | |
27 | 27 | A simple configuration would be : |
28 | 28 |