Skip to content

Instantly share code, notes, and snippets.

@ontheklaud
Last active October 28, 2018 14:33
Show Gist options
  • Save ontheklaud/60ad28b3c6e4dbf509312c641af64910 to your computer and use it in GitHub Desktop.
Save ontheklaud/60ad28b3c6e4dbf509312c641af64910 to your computer and use it in GitHub Desktop.
Build optimized TensorFlow with Intel acceleration
# reference for intel python repository
# https://software.intel.com/en-us/articles/using-intel-distribution-for-python-with-anaconda
conda config --add channels intel
conda create -n mkldnn -c conda-forge intelpython3_core python=3.6 cartopy numpy matplotlib scipy opencv cython seaborn pandas geopy scikit-learn scikit-image netcdf4 h5py
# reference for keras module dependency:
# https://github.com/tensorflow/tensorflow/issues/21518#issuecomment-411875069
pip install keras_applications keras_preprocessing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment