User Tools

Site Tools


tensorflow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tensorflow [2016/05/27 17:33] hjtensorflow [2016/05/31 20:00] (current) hj
Line 1: Line 1:
-How to configure your environment to run TensorFlow in our servers:+==== How to configure your environment to run TensorFlow in our servers: ==== 
 + 
  
-Put these in your ~/.cshrc: <br><br> +Put these in your ~/.cshrc: \\ 
- +
-//setenv PATH /eecs/research/asr/mingbin/gcc-4.9/bin:${PATH} +
- +
-setenv LIBRARY_PATH /eecs/research/asr/mingbin/gcc-4.9/lib64+
  
 +//setenv PATH /eecs/research/asr/mingbin/gcc-4.9/bin:${PATH} \\
 +setenv LIBRARY_PATH /eecs/research/asr/mingbin/gcc-4.9/lib64 \\
 setenv LD_LIBRARY_PATH /eecs/research/asr/mingbin/gcc-4.9/lib64:${LD_LIBRARY_PATH} setenv LD_LIBRARY_PATH /eecs/research/asr/mingbin/gcc-4.9/lib64:${LD_LIBRARY_PATH}
  
-# path to cuda +\\ \\
- +
-setenv PATH /cs/local/pkg/cuda/bin:${PATH} +
- +
-setenv LD_LIBRARY_PATH /cs/local/pkg/cuda/lib64:${LD_LIBRARY_PATH} +
- +
-# path to cuDNN +
- +
-setenv LD_LIBRARY_PATH /eecs/research/asr/Shared/cuDNN/lib64:${LD_LIBRARY_PATH} +
- +
-# path to mkl +
- +
-setenv LD_LIBRARY_PATH /eecs/research/asr/mingbin/mkl/mkl/lib/intel64:${LD_LIBRARY_PATH}+
  
 +# path to cuda \\
 +setenv PATH /cs/local/pkg/cuda/bin:${PATH} \\
 +setenv LD_LIBRARY_PATH /cs/local/pkg/cuda/lib64:${LD_LIBRARY_PATH} \\
 +\\
 +# path to cuDNN  \\ 
 +setenv LD_LIBRARY_PATH /eecs/research/asr/Shared/cuDNN/lib64:${LD_LIBRARY_PATH} \\
 +\\
 +# path to mkl \\
 +setenv LD_LIBRARY_PATH /eecs/research/asr/mingbin/mkl/mkl/lib/intel64:${LD_LIBRARY_PATH} \\ 
 alias virtual-python "unsetenv PYTHONPATH; source /eecs/research/asr/mingbin/python-workspace/hopeless/bin/activate.csh" alias virtual-python "unsetenv PYTHONPATH; source /eecs/research/asr/mingbin/python-workspace/hopeless/bin/activate.csh"
- +\\ \\
-//+
  
 After you modify ~/.cshrc, source it or re-login your account.  After you modify ~/.cshrc, source it or re-login your account. 
 When you want to use Tensorflow, type “virtual-python” in the shell, as shown in the screenshot. When you finish, type “deactivate”. When you want to use Tensorflow, type “virtual-python” in the shell, as shown in the screenshot. When you finish, type “deactivate”.
  
 +\\ \\
 +
 +{{ :pastedgraphic-1.jpg?0x600 |Example}}
  
 +\\ \\
  
 +A set of {{:tensorflow.pdf|tutorial slides}} by Chris Kim and two examples: {{:cnn_mnist_basic.py.txt|CNN-MNIST}} and {{:recurrent_network.py.txt|RNN}}.
  
tensorflow.1464370411.txt.gz · Last modified: 2016/05/27 17:33 by hj