From 47a1a4ad60d5ee75a04960bbbe301fcbc803da44 Mon Sep 17 00:00:00 2001 From: maxwelltsai Date: Thu, 14 May 2020 17:17:39 +0200 Subject: [PATCH] Updated README.md for TensorFlow --- README.md | 8 ++++---- tensorflow/prerequisites-installation.md | 11 +++++++++++ 2 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 tensorflow/prerequisites-installation.md diff --git a/README.md b/README.md index 666ec0a..4fea35a 100644 --- a/README.md +++ b/README.md @@ -338,8 +338,8 @@ There are many open-source datasets available for benchmarking TensorFlow, such - Website: https://github.com/maxwelltsai/DeepGalaxy - Code download: https://github.com/maxwelltsai/DeepGalaxy -- [Prerequisites installation](tensorflow#prerequisites-installation) -- [Test Case A](tensorflow/Testcase_A) -- [Test Case B](tensorflow/Testcase_B) -- [Test Case C](tensorflow/Testcase_C) +- [Prerequisites installation](tensorflow/prerequisites-installation.md) +- [Test Case A](tensorflow/Testcase_A/) +- [Test Case B](tensorflow/Testcase_B/) +- [Test Case C](tensorflow/Testcase_C/) diff --git a/tensorflow/prerequisites-installation.md b/tensorflow/prerequisites-installation.md new file mode 100644 index 0000000..7d2032d --- /dev/null +++ b/tensorflow/prerequisites-installation.md @@ -0,0 +1,11 @@ +## Prerequisites Installation + +The prerequsities consists of a list of python packages as shown below. It is recommended to create a python virtual environment (either with `pyenv` or `conda`). The following packages can be installed using the `pip` package management tool: +``` +pip install tensorflow +pip install horovod +pip install scikit-learn +pip install scikit-image +pip install pandas +``` +Note: there is no guarantee of optimal performance when `tensorflow` is installed using `pip`. It is better if `tensorflow` is compiled from source, in which case the compiler will likely be able to take advantage of the advanced instruction sets supported by the processor (e.g., AVX512). An official build instruction can be found at https://www.tensorflow.org/install/source. Sometimes, an HPC center may have a tensorflow module optimized for their hardware, in which case the `pip install tensorflow` line can be replaced with a line like `module load `. -- GitLab