forked from scaliseraoul/Protego-Model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenerate_analysis.sh
22 lines (19 loc) · 1.03 KB
/
generate_analysis.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
# Define arrays for variant and overlap_percentage
variants=("neutral")
overlap_percentages=(0 75)
lengths=(4)
# Loop over all combinations of variant, overlap_percentage, and length
for length in "${lengths[@]}"; do
for variant in "${variants[@]}"; do
echo "Processing with variant: $variant, and segment length: $length"
python train.py --train_dir "train-${variant}-${length}" --test_dir "test-${variant}-${length}"
for overlap in "${overlap_percentages[@]}"; do
echo "Processing with overlap: $overlap"
python train.py --train_dir "train-${variant}-${length}-trimmed-${overlap}" --test_dir "test-${variant}-${length}-trimmed-${overlap}"
python train.py --train_dir "train-${variant}-${length}-trimmed-${overlap}-balanced-removal" --test_dir "test-${variant}-${length}-trimmed-${overlap}-balanced-removal"
echo "Completed processing for variant: $variant, overlap: $overlap%, and segment length: $length"
done
done
done
echo "All processing complete."