Last active
March 20, 2017 14:59
-
-
Save vfdev-5/a9b39127fb23c850e2b7b899680d452e to your computer and use it in GitHub Desktop.
Data science with python on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [global] | |
| floatX = float32 | |
| device = gpu0 | |
| force_device = True | |
| [nvcc] | |
| fastmath = True | |
| [cuda] | |
| root=/usr/local/cuda/ | |
| [lib] | |
| cnmem = 0.5 | |
| [dnn] | |
| enabled = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [global] | |
| floatX=float32 | |
| device=gpu0 | |
| force_device=True | |
| [lib] | |
| cnmem=0.5 | |
| [cuda] | |
| root="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5" | |
| [dnn] | |
| enabled=True | |
| [nvcc] | |
| flags = --use-local-env --cl-version=2013 | |
| fastmath = True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| cd DIGITS | |
| python digits |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| dir %* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| numpy | |
| scipy | |
| matplotlib | |
| jupyter | |
| Keras | |
| pandas | |
| Theano | |
| scikit-learn | |
| h5py | |
| opencv-python | |
| pydot | |
| ##### pip list | |
| # appdirs (1.4.1) | |
| # backports-abc (0.5) | |
| # backports.shutil-get-terminal-size (1.0.0) | |
| # bleach (1.5.0) | |
| # certifi (2017.1.23) | |
| # click (6.7) | |
| # click-plugins (1.0.3) | |
| # cligj (0.4.0) | |
| # colorama (0.3.7) | |
| # configparser (3.5.0) | |
| # cycler (0.10.0) | |
| # Cython (0.25.2) | |
| # dask (0.13.0) | |
| # decorator (4.0.11) | |
| # entrypoints (0.2.2) | |
| # enum34 (1.1.6) | |
| # Fiona (1.7.4) | |
| # Flask (0.12) | |
| # Flask-Cors (3.0.2) | |
| # functools32 (3.2.3.post2) | |
| # GDAL (2.1.3) | |
| # gevent (1.1.2) | |
| # greenlet (0.4.12) | |
| # h5py (2.6.0) | |
| # html5lib (0.9999999) | |
| # ipykernel (4.5.2) | |
| # ipython (5.2.2) | |
| # ipython-genutils (0.1.0) | |
| # ipywidgets (5.2.2) | |
| # itsdangerous (0.24) | |
| # Jinja2 (2.9.5) | |
| # jsonschema (2.6.0) | |
| # jupyter (1.0.0) | |
| # jupyter-client (5.0.0) | |
| # jupyter-console (5.1.0) | |
| # jupyter-core (4.3.0) | |
| # Keras (1.2.2) | |
| # Lasagne (0.1) | |
| # MarkupSafe (0.23) | |
| # matplotlib (2.0.0) | |
| # mistune (0.7.3) | |
| # munch (2.1.0) | |
| # nbconvert (5.1.1) | |
| # nbformat (4.3.0) | |
| # networkx (1.11) | |
| # notebook (4.4.1) | |
| # numpy (1.12.0+mkl) | |
| # olefile (0.44) | |
| # opencv-python (3.2.0.6) | |
| # packaging (16.8) | |
| # pandas (0.19.2) | |
| # pandocfilters (1.4.1) | |
| # pathlib2 (2.2.1) | |
| # pickleshare (0.7.4) | |
| # Pillow (4.0.0) | |
| # pip (9.0.1) | |
| # prompt-toolkit (1.0.13) | |
| # pydot (1.2.3) | |
| # Pygments (2.2.0) | |
| # pyparsing (2.1.10) | |
| # python-dateutil (2.6.0) | |
| # pytz (2016.10) | |
| # PyYAML (3.12) | |
| # pyzmq (16.0.2) | |
| # qtconsole (4.2.1) | |
| # scandir (1.4) | |
| # scikit-fmm (0.0.9) | |
| # scikit-image (0.12.3) | |
| # scikit-learn (0.18.1) | |
| # scipy (0.18.1) | |
| # setuptools (34.2.0) | |
| # Shapely (1.5.17) | |
| # simplegeneric (0.8.1) | |
| # singledispatch (3.4.0.3) | |
| # six (1.10.0) | |
| # testpath (0.3) | |
| # Theano (0.9.0rc1) | |
| # tifffile (2017.1.12) | |
| # toolz (0.8.2) | |
| # tornado (4.4.2) | |
| # traitlets (4.3.1) | |
| # wcwidth (0.1.7) | |
| # Werkzeug (0.11.15) | |
| # wheel (0.30.0a0) | |
| # widgetsnbextension (1.2.6) | |
| # win-unicode-console (0.5) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @echo off | |
| echo "Start environment" | |
| set HOME_PATH=%CD% | |
| :: Setup VC variables | |
| call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86_amd64 | |
| ::echo "CUDA_PATH=%CUDA_PATH%" | |
| set PYTHON_PATH=C:\Python27 | |
| :: Follow this : http://deeplearning.net/software/theano/install_windows.html | |
| set TDM_GCC_PATH=%CD%\TDM-GCC\bin;%CD%\TDM-GCC\x86_64-w64-mingw32\bin | |
| :: Theano & Keras global variables | |
| set THEANORC=%CD%\.theanorc.txt | |
| set KERAS_BACKEND=theano | |
| :: Do not forget to setup : C:\Users\USER\.keras\keras.json | |
| :: | |
| :: { | |
| :: "image_dim_ordering": "th", | |
| :: "epsilon": 1e-07, | |
| :: "floatx": "float32", | |
| :: "backend": "theano" | |
| :: } | |
| :: | |
| set CAFFE_PATH=%CD%\caffe | |
| set CAFFE_ROOT=%CD%\caffe\build | |
| set CAFFE_DEP_ROOT=%CAFFE_PATH%\scripts\libraries | |
| set CAFFE_DEPS=%CAFFE_DEP_ROOT%\bin;%CAFFE_DEP_ROOT%\lib;%CAFFE_DEP_ROOT%\x64\vc12\bin | |
| set PATH=%PATH%;%PYTHON_PATH%;%TDM_GCC_PATH%;%CAFFE_DEPS%;%CD% | |
| :: Install virtual environment with `python virtualenv venv` | |
| :: Activate venv | |
| %comspec% /k "%CD%\venv\Scripts\activate.bat" | |
| echo "Exiting ..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment