0, Install WSL, xfce4, VcXsrv
startxfce4
1, Install Miniconda(Tick all the option)
2, Set alias and add it to the end of .bashrc
alias python="python.exe" alias conda="conda.exe" alias ipython="ipython.exe" alias nosetests="nosetests.exe" alias pip="pip.exe"
3, Install tensorflow-gpu
4, Install CUDA support on windows
- NVIDIA® GPU drivers —CUDA 9.0 requires 384.x or higher.
- CUDA® Toolkit —TensorFlow supports CUDA 9.0.
- CUPTI ships with the CUDA Toolkit.
- cuDNN SDK (>= 7.2)
Run python script in WSL
P.S. Hyper Terminal can be used to boost the using of the terminal.