Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash -l
- # Generates from the local conditioning WaveNet model
- # PROJECT NAME
- #$ -P textconv
- # JOB TIME
- #$ -l h_rt=48:00:00
- # SEND EMAIL BY DEFAULT
- #$ -m beas
- # JOB NAME
- #$ -N G_lcfix
- # TOTAL CPU CORES
- #$ -pe omp 4
- # TOTAL MEMORY
- #$ -l mem_total=32G
- # TOTAL GPUS
- #$ -l gpus=0.25
- # GPU COMPUTE CAPABILITY
- #$ -l gpu_c=3.5
- # LOAD SOFTWARE MODULES
- module load cuda/8.0
- module load cudnn/6.0
- module load python/2.7.13
- module load tensorflow/r1.6
- CHECKPOINT=$(ls ./logs | sort --version-sort --field-separator=- | grep .meta | tail -1 | grep -o "[0-9]*")
- DIR=$(pwd)
- # EXECUTION LINE
- python $(DIR)/generate.py \
- --checkpoint=$(DIR)/logs/model.ckpt-$(CHECKPOINT) \
- --samples=336000 \
- --wav-out-path=$(DIR)/hbd_$(CHECKPOINT).wav \
- --lc-channels=16 \
- --lc-filepath=/projectnb/textconv/LCWaveNet/Timeseries/happy_birthday.mid \
- --lc-fileformat=*.mid \
- --initial-lc-channels=128 \
- --wavenet-params=$(DIR)/lc_wavenet_params.json \
- --logdir=$(DIR)/logs
Add Comment
Please, Sign In to add comment