update scripts
This commit is contained in:
@@ -7,8 +7,18 @@ fi
|
||||
|
||||
arch=$1
|
||||
SAVED=./output/NAS-RNN/Search-${arch}-PTB
|
||||
PY_C="./env/bin/python"
|
||||
|
||||
python ./exps-rnn/train_rnn_base.py \
|
||||
if [ ! -f ${PY_C} ]; then
|
||||
echo "Local Run with Python: "`which python`
|
||||
PY_C="python"
|
||||
else
|
||||
echo "Cluster Run with Python: "${PY_C}
|
||||
fi
|
||||
|
||||
${PY_C} --version
|
||||
|
||||
${PY_C} ./exps-rnn/train_rnn_base.py \
|
||||
--arch ${arch} \
|
||||
--save_path ${SAVED} \
|
||||
--config_path ./configs/NAS-PTB-BASE.config \
|
||||
|
Reference in New Issue
Block a user