-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_SC-UL_exp1.sh
executable file
·46 lines (40 loc) · 1.3 KB
/
run_SC-UL_exp1.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
sbatch <<EOT
#!/bin/bash
#SBATCH --job-name=autoencoder_Exp1_Annealing
#SBATCH --output=./reports/Exp1_Annealing/slurm_%a_%j.out
#SBATCH --error=./reports/Exp1_Annealing/slurm_%a_%j.err
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=1
#SBATCH --cpus-per-task=8
#SBATCH --partition=clara
#SBATCH --time=4:00:00
#SBATCH --mem=64G
#SBATCH --gres=gpu:rtx2080ti:1
#### Exp1 Beta influence ###########
echo "Doing Experiment 1: beta influence"
# copy cfg in root
cp ./config_runs/Exp1/Exp1_SC_Annealing_config.yaml .
cp ./config_runs/Exp1/Exp1_TCGA_Annealing_config.yaml .
# run AUTOENCODIX
if [ -z "$VIRTUAL_ENV" ];
then
source venv-gallia/bin/activate
echo $VIRTUAL_ENV
fi
export CUBLAS_WORKSPACE_CONFIG=:16:8
make visualize RUN_ID=Exp1_SC_Annealing
make visualize RUN_ID=Exp1_TCGA_Annealing
# get paper visualization
mkdir -p ./reports/paper-visualizations/Exp1
python src/visualization/Exp1_visualization.py
## Transfer of paper-visualizations/Exp1 to NextCloud
nephelai upload-with-fs reports/Exp1_SC_Annealing
nephelai upload-with-fs reports/Exp1_TCGA_Annealing
nephelai upload-with-fs reports/paper-visualizations/Exp1
# clean up
bash ./clean.sh -r Exp1_SC_Annealing,Exp1_TCGA_Annealing -d -k # Clean up and keep only reports folder
rm ./Exp1_*_Annealing_config.yaml
###################################
exit 0
EOT