TeacherPuffy commited on
Commit
f3ed432
·
verified ·
1 Parent(s): 9986847

Create brute.sh

Browse files
Files changed (1) hide show
  1. brute.sh +17 -0
brute.sh ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Path to the CSV file containing layer counts and widths
4
+ CSV_FILE="experiments.csv"
5
+
6
+ # Path to the Python script
7
+ PYTHON_SCRIPT="train_mlp.py"
8
+
9
+ # Read the CSV file line by line
10
+ {
11
+ read # Skip the header line
12
+ while IFS=, read -r layer_count width
13
+ do
14
+ echo "Running experiment with layer_count=$layer_count and width=$width"
15
+ python $PYTHON_SCRIPT --layer_count $layer_count --width $width
16
+ done
17
+ } < $CSV_FILE