-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_kfold.sh
32 lines (25 loc) · 839 Bytes
/
run_kfold.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
#!/bin/bash
#SBATCH --job-name=kfold_ra
#SBATCH --partition=cpu
#SBATCH --nodes=6
#SBATCH --ntasks=8
#SBATCH --cpus-per-task=1
#SBATCH -o /mnt/storage/home/um20242/scratch/RAPIQUE-UGC/logs/kfold_rapique.out
#SBATCH --mem-per-cpu=10G
cd "${SLURM_SUBMIT_DIR}"
echo Running on host "$(hostname)"
echo Time is "$(date)"
echo Directory is "$(pwd)"
echo Slurm job ID is "${SLURM_JOBID}"
echo This jobs runs on the following machines:
echo "${SLURM_JOB_NODELIST}"
module load languages/anaconda3/2020.02-tflow-1.15
#conda create -n reproducibleresearch pip python=3.6
# Activate virtualenv
source activate reproducibleresearch
#pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
# Run Python script
python < kfold_train_test_svr_export_model.py
#python < kfold_ugc_test.py
## Deactivate virtualenv
conda deactivate