File size: 433 Bytes
f3ed432
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# Path to the CSV file containing layer counts and widths
CSV_FILE="experiments.csv"

# Path to the Python script
PYTHON_SCRIPT="train_mlp.py"

# Read the CSV file line by line
{
  read  # Skip the header line
  while IFS=, read -r layer_count width
  do
    echo "Running experiment with layer_count=$layer_count and width=$width"
    python $PYTHON_SCRIPT --layer_count $layer_count --width $width
  done
} < $CSV_FILE