File size: 413 Bytes
14aae6f
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
i=0
nb_reps=(10 10 10 5 3 3)
for nb_rep in ${nb_reps[@]}; do
    for j in $(seq 1 $nb_rep); do
        python3 mergesets.py
        cd ../ornithoscope-appel-offre
        python3 src/dataset2ultra.py --dataset_name "DS9.$i"
        python3 src/train.py >> "out_$i.tmp"
        cat "out_$i.tmp" | grep "scores" >> "out.tmp"
        mv "out.tmp" "out_$i.tmp"
        cd ../ornithoscope
    done
  i=$((i + 1))
done