From 7b5988864fe545441215635098574762c7350496 Mon Sep 17 00:00:00 2001 From: Le-Zheng Date: Mon, 27 May 2019 11:15:03 +0800 Subject: [PATCH] update --- keras/6.2-understanding-recurrent-neural-networks.ipynb | 2 +- keras/run-keras-notebook.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keras/6.2-understanding-recurrent-neural-networks.ipynb b/keras/6.2-understanding-recurrent-neural-networks.ipynb index eca067e..af5e551 100644 --- a/keras/6.2-understanding-recurrent-neural-networks.ipynb +++ b/keras/6.2-understanding-recurrent-neural-networks.ipynb @@ -24,7 +24,7 @@ } ], "source": [ - "%env SPARK_DRIVER_MEMORY=16g\n", + "%env SPARK_DRIVER_MEMORY=8g\n", "%env PYSPARK_PYTHON=/usr/bin/python3.5\n", "%env PYSPARK_DRIVER_PYTHON=/usr/bin/python3.5\n", "\n", diff --git a/keras/run-keras-notebook.sh b/keras/run-keras-notebook.sh index 77064b4..412a516 100755 --- a/keras/run-keras-notebook.sh +++ b/keras/run-keras-notebook.sh @@ -174,10 +174,10 @@ sed -i "s/get_ipython()/#/g" ${ZOO_TUTORIALS}/keras/tmp_test.py ${SPARK_HOME}/bin/spark-submit \ --master ${MASTER} \ --driver-cores 2 \ - --driver-memory 16g \ + --driver-memory 8g \ --total-executor-cores 2 \ --executor-cores 2 \ - --executor-memory 16g \ + --executor-memory 8g \ --conf spark.akka.frameSize=64 \ --py-files ${ANALYTICS_ZOO_PYZIP},${ZOO_TUTORIALS}/keras/tmp_test.py \ --properties-file ${ANALYTICS_ZOO_CONF} \