mirror of
https://github.com/Doctorado-ML/Stree_datasets.git
synced 2025-08-16 07:56:07 +00:00
Fix lanunchsome mistake
This commit is contained in:
@@ -4,8 +4,8 @@ if [ "$1" = "" -o "$2" = "" -o "$3" = "" -o "$4" = "" -o "$5" = "" ] ; then
|
||||
echo " - el tipo de experimento {gridsearch, gridbest, cross}"
|
||||
echo " - el modelo {stree, adaBoost, bagging, odte}"
|
||||
echo " - el kernel {linear, poly, rbf, any}"
|
||||
echo " - el archivo con nombres de datasets"
|
||||
echo " - el tipo de plataforma {pbs, slurm}"
|
||||
echo " - el archivo con nombres de datasets"
|
||||
echo "opcionalmente al final: dry-run"
|
||||
exit 1
|
||||
fi
|
||||
@@ -36,14 +36,14 @@ counter=0
|
||||
lines="$(cat $script_path/$5|cut -d " " -f 2|tail -49)"
|
||||
for a in $lines; do
|
||||
echo "launch experiment_$a.sh"
|
||||
if [ "$5" = "dry-run" ] ; then
|
||||
if [ "$6" = "dry-run" ] ; then
|
||||
echo "not launched"
|
||||
else
|
||||
$launcher experiment_$a.sh
|
||||
fi
|
||||
let counter++
|
||||
done
|
||||
if [ "$5" = "dry-run" ] ; then
|
||||
if [ "$6" = "dry-run" ] ; then
|
||||
echo "Not launched $counter jobs"
|
||||
else
|
||||
echo "Launched $counter jobs"
|
||||
|
Reference in New Issue
Block a user