-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
377028f
commit a93893a
Showing
5 changed files
with
3,918 additions
and
1,182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/bin/bash | ||
#SBATCH [email protected] | ||
#SBATCH --mail-type=ALL | ||
#SBATCH --partition=yugroup | ||
|
||
# Generate a random seed | ||
seed=$(shuf -i 1-10000 -n 1) | ||
|
||
# Replace XXX with the generated seed | ||
command="01_run_ablation_classification.py --nreps 1 --config mdi_local.real_data_classification --split_seed $seed --ignore_cache --create_rmd --result_name Diabetes_classification_parallel" | ||
command="01_run_ablation_classification.py --nreps 1 --config mdi_local.real_data_classification --split_seed ${1} --ignore_cache --create_rmd --result_name Diabetes_classification_parallel" | ||
|
||
# Execute the command | ||
python $command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/bin/bash | ||
#SBATCH [email protected] | ||
#SBATCH --mail-type=ALL | ||
#SBATCH --partition=yugroup | ||
|
||
# Generate a random seed | ||
seed=$(shuf -i 1-10000 -n 1) | ||
|
||
# Replace XXX with the generated seed | ||
command="01_run_ablation_regression.py --nreps 1 --config mdi_local.real_data_regression --split_seed $seed --ignore_cache --create_rmd --result_name Diabetes_regression_parallel" | ||
command="01_run_ablation_regression.py --nreps 1 --config mdi_local.real_data_regression --split_seed ${1} --ignore_cache --create_rmd --result_name satellite_image_parallel" | ||
|
||
# Execute the command | ||
python $command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
#!/bin/bash | ||
#SBATCH [email protected] | ||
#SBATCH --mail-type=ALL | ||
|
||
# Define the SLURM submission script name | ||
slurm_script="01_ablation_regression_script.sh" # Replace {slurm_submission_script} with your actual script name | ||
slurm_script="01_ablation_regression_script.sh" | ||
|
||
# Loop to submit SLURM job 10 times | ||
for rep in {1..10} | ||
do | ||
sbatch $slurm_script # Submit SLURM job using the specified script | ||
done | ||
rep=1 | ||
sbatch $slurm_script $rep | ||
|
||
# for rep in {1..5} | ||
# do | ||
# sbatch $slurm_script $rep # Submit SLURM job using the specified script | ||
# done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.