From 19b00fb26b1ebbb45ab0ce99fc1e58d914c0c480 Mon Sep 17 00:00:00 2001 From: xiexionghang Date: Thu, 12 Sep 2019 10:36:29 +0800 Subject: [PATCH] fix epoch_done save --- .../custom_trainer/feed/scripts/compake_runable_package.sh | 2 +- .../train/custom_trainer/feed/scripts/start_feed_trainer.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/paddle/fluid/train/custom_trainer/feed/scripts/compake_runable_package.sh b/paddle/fluid/train/custom_trainer/feed/scripts/compake_runable_package.sh index d7c746fc..0fa9d8a4 100755 --- a/paddle/fluid/train/custom_trainer/feed/scripts/compake_runable_package.sh +++ b/paddle/fluid/train/custom_trainer/feed/scripts/compake_runable_package.sh @@ -39,6 +39,6 @@ done #输出package包 rm -rf package -mkdir package +mkdir -p package/log cp -r bin conf tool scripts model so package cp -r ${TRAINER_HODOOP_HOME} package/hadoop-client diff --git a/paddle/fluid/train/custom_trainer/feed/scripts/start_feed_trainer.sh b/paddle/fluid/train/custom_trainer/feed/scripts/start_feed_trainer.sh index a00f6a9f..d31f61e9 100755 --- a/paddle/fluid/train/custom_trainer/feed/scripts/start_feed_trainer.sh +++ b/paddle/fluid/train/custom_trainer/feed/scripts/start_feed_trainer.sh @@ -20,7 +20,6 @@ export PATH=/usr/local/openmpi/bin:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/openmpi/lib/ if [ "${run_mode}" = "mpi" ];then mpirun mv package/* . - mpirun mkdir -p log export HADOOP_HOME="./hadoop-client/hadoop" export PATH=$HADOOP_HOME/bin/:./bin:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./so -- GitLab