16 lines
375 B
Bash
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
|