From be78c4deadca91acea4c60b637a0682d5ec5d9e2 Mon Sep 17 00:00:00 2001 From: daiktas Date: Fri, 23 Aug 2019 16:54:43 +0100 Subject: [PATCH 1/2] fix env --- Env/environment_gpu.yml | 1 + Env/setupEnvFull.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Env/environment_gpu.yml b/Env/environment_gpu.yml index 3e3eac0..305c828 100644 --- a/Env/environment_gpu.yml +++ b/Env/environment_gpu.yml @@ -10,4 +10,5 @@ dependencies: - matplotlib==2.2.4 - pydot==1.2.4 - tensorflow-gpu==1.6.0 + - cuda==9.0 - Keras==2.1.6 diff --git a/Env/setupEnvFull.sh b/Env/setupEnvFull.sh index 28907bc..2b3b73b 100755 --- a/Env/setupEnvFull.sh +++ b/Env/setupEnvFull.sh @@ -82,7 +82,7 @@ function run_setup() echo "Generate setup script" echo "export PATH="$INSTALL_ABSDIR"/miniconda/bin:\$PATH" > $SCRIPT_DIR/env_gpu.sh - echo "source deactivate tf_gpu" >> $SCRIPT_DIR/env_gpu.sh + echo "source activate tf_gpu" >> $SCRIPT_DIR/env_gpu.sh echo "export LD_LIBRARY_PATH="$INSTALL_ABSDIR"/miniconda/envs/tf_cpu/x86_64-conda_cos6-linux-gnu/lib:\$LD_LIBRARY_PATH" >> $SCRIPT_DIR/env_gpu.sh echo "export TF_CPP_MIN_LOG_LEVEL=2" >> $SCRIPT_DIR/env_gpu.sh echo "export OMP_NUM_THREADS=16 #reduce further if out-of-memory" >> $SCRIPT_DIR/env_gpu.sh From 369fbfeee0b36f1b67ed27302b9fc8e946710a9d Mon Sep 17 00:00:00 2001 From: daiktas Date: Fri, 23 Aug 2019 17:13:06 +0100 Subject: [PATCH 2/2] fix env --- Env/environment_gpu.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/Env/environment_gpu.yml b/Env/environment_gpu.yml index 305c828..3e3eac0 100644 --- a/Env/environment_gpu.yml +++ b/Env/environment_gpu.yml @@ -10,5 +10,4 @@ dependencies: - matplotlib==2.2.4 - pydot==1.2.4 - tensorflow-gpu==1.6.0 - - cuda==9.0 - Keras==2.1.6