forked from gbegus/fiwGAN-ciwGAN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
5_category_train_script.sh
32 lines (32 loc) · 1.07 KB
/
5_category_train_script.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
# Job name:
#SBATCH --job-name=MandarinToneGAN
#
# Account:
#SBATCH --account=fc_bsclab
#
# Partition:
#SBATCH --partition=savio2_1080ti
#
# Number of nodes:
#SBATCH --nodes=1
#
# Number of tasks (one for each GPU desired for use case) (example):
#SBATCH --ntasks=1
#
# Processors per task:
# Always at least twice the number of GPUs (savio2_gpu and GTX2080TI in savio3_gpu)
# Four times the number for TITAN and V100 in savio3_gpu
# Eight times the number for A40 in savio3_gpu
#SBATCH --cpus-per-task=2
#
#Number of GPUs, this can be in the format of "gpu:[1-4]", or "gpu:K80:[1-4] with the type included
#SBATCH --gres=gpu:1
#
# Wall clock limit:
#SBATCH --time=48:00:00
#
## Command(s) to run (example):
module load ml/tensorflow/1.12.0-py36
nohup python3 backup.py '/global/scratch/users/nzxyin/mandarin_tone/results3' 240 &
python3 ./train_ciwgan.py train '/global/scratch/users/nzxyin/mandarin_tone/results3/' --data_dir '/global/scratch/users/nzxyin/mandarin_tone/data/tone_perfect_wav_16' --data_slice_len 32768 --num_categ 5 --data_first_slice --data_pad_end --data_fast_wav