Skip to content
Snippets Groups Projects
Commit b8213272 authored by Franck Dary's avatar Franck Dary
Browse files

Train script is no longer responsible for copying template

parent 05adf8ab
No related branches found
No related tags found
No related merge requests found
......@@ -41,11 +41,6 @@ if [ ! -d "$TEMPLATEPATH" ]; then
exit
fi
# Here we create the experience folder and we copy every useful file into it
rm -r $EXPPATH 2> /dev/null
mkdir $EXPPATH
cp $TEMPLATEPATH/* $EXPPATH/.
# Here we create the decode script
echo "\
#! /bin/bash
......@@ -67,11 +62,7 @@ do
done
macaon_decode --lang $LANG --tm machine.tm --bd test.bd -I \$INPUT --mcd \$MCD --expName $EXPNAME \$ARGS\
" > $EXPPATH/decode.sh
chmod +x $EXPPATH/decode.sh
# We link the decode script to a file located in bin
ln -f -s $EXPPATH/decode.sh $LANGPATH/bin/maca_tm_$EXPNAME
" > $TEMPLATEPATH/decode.sh
# We start the training
macaon_train --tm machine.tm --bd train.bd --mcd ../../data/wpmlgfs.mcd -T ../../data/train.mcf --dev ../../data/dev.mcf --expName $EXPNAME --lang $LANG $ARGS
macaon_train --tm machine.tm --bd train.bd --mcd ../../data/wpmlgfs.mcd -T ../../data/train.mcf --dev ../../data/dev.mcf --expName $EXPNAME --lang $LANG $ARGS --templateName $TEMPLATENAME
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment