MLPScaling / brute.sh
TeacherPuffy's picture
Create brute.sh
f3ed432 verified
raw
history blame
433 Bytes
#!/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