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