autodl-projects/scripts-rnn/train-PTB.sh
Xuanyi Dong 3734384b68 update
2019-03-30 00:50:18 +08:00

16 lines
375 B
Bash

#!/usr/bin/env sh
if [ "$#" -ne 1 ] ;then
echo "Input illegal number of parameters " $#
echo "Need 1 parameters for the GPU and the architecture"
exit 1
fi
arch=$1
SAVED=./output/NAS-RNN/Search-${arch}-PTB
python ./exps-rnn/train_rnn_base.py \
--arch ${arch} \
--save_path ${SAVED} \
--config_path ./configs/NAS-PTB-BASE.config \
--print_freq 200