add NDLDir to run-test for the LSTM test case.

This commit is contained in:
Dong Yu 2015-08-31 17:03:11 -07:00
Родитель e3889cc056
Коммит bbc59a5843
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -14,7 +14,7 @@ speechTrain=[
traceLevel=1
NDLNetworkBuilder=[
networkDescription=$TEST_DIR$/lstmp-3layer_WithSelfStab.ndl
networkDescription=$NDLDir$/lstmp-3layer_WithSelfStab.ndl
]
SGD=[

Просмотреть файл

@ -11,15 +11,17 @@ fi
configFile=$TEST_DIR/cntk.config
RunDir=$TEST_RUN_DIR
DataDir=$TEST_DATA_DIR
NDLDir=$TEST_DIR
if [ "$OS" == "Windows_NT" ]; then
# When running on cygwin translating /cygdrive/xxx paths to proper windows paths:
configFile=$(cygpath -aw $configFile)
RunDir=$(cygpath -aw $RunDir)
DataDir=$(cygpath -aw $DataDir)
NDLDir=$(cygpath -aw $NDLDir)
fi
CNTK_ARGS="configFile=$configFile RunDir=$RunDir DataDir=$DataDir DeviceId=$CNTK_DEVICE_ID"
CNTK_ARGS="configFile=$configFile RunDir=$RunDir DataDir=$DataDir DeviceId=$CNTK_DEVICE_ID NDLDir=$NDLDir"
MODELS_DIR=$TEST_RUN_DIR/models
[ -d $MODELS_DIR ] && rm -rf $MODELS_DIR
mkdir -p $MODELS_DIR || exit $?