From b56ba5f467eb9a6a8165de113c4b2ddfbc203386 Mon Sep 17 00:00:00 2001 From: hsharif3 <hsharif3@illinois.edu> Date: Fri, 19 Mar 2021 05:37:13 +0000 Subject: [PATCH] Update Keras to Reflect new Pip Package --- hpvm/projects/keras/README.md | 43 +++++------------------------------ 1 file changed, 6 insertions(+), 37 deletions(-) diff --git a/hpvm/projects/keras/README.md b/hpvm/projects/keras/README.md index e3cd3b8b19..ec3e2e4a15 100644 --- a/hpvm/projects/keras/README.md +++ b/hpvm/projects/keras/README.md @@ -1,48 +1,17 @@ # Keras Frontend -## Installing Dependencies +## Requirements -### Updating pip: -The pip version required in this subproject must be >= `19.3`. +* python >= 3.6 +* pip >= 9 -To upgrade pip: +## Installing the Keras Frontend Package -``` -pip install --upgrade pip -``` - -To check installed pip version: - -``` -pip -V -``` - -### Importing and Creating the Required Conda Environment: +At the root of this project (`/projects/keras/`) install the Keras frontend pip package as: ``` -conda env create -f keras_environment.yml --name ${KERAS_ENV_NAME} +pip install -e . ``` -Note: pip version MUST be > 19.3 - -This is a **one-time** installation step. - -### Activating Conda Environment: - -``` -conda activate ${KERAS_ENV_NAME} -``` - -**NOTE:** This step must be performed each time (for each shell process) the frontend is to be used. - -### Building and Installing Frontend: - -``` -python setup.py build - -python setup.py install -``` -**NOTE:** This step must be performed each time (for each shell process) the frontend is to be used. - ## Download CNN Model Files -- GitLab