From 790a1b463932327e739a4d3a4d845d92b56a37d8 Mon Sep 17 00:00:00 2001 From: Eren G Date: Wed, 8 Aug 2018 12:31:03 +0200 Subject: [PATCH] config changes --- .compute | 12 +++++++----- .install | 6 +++--- config.json | 8 ++++---- config_kusal.json | 8 ++++---- 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/.compute b/.compute index bc3fd4bf..aef3d770 100644 --- a/.compute +++ b/.compute @@ -1,8 +1,10 @@ #!/bin/bash -# source ../tmp/venv/bin/activate -# ls /snakepit/jobs/650/keep/ -source /snakepit/jobs/650/keep/venv/bin/activate -# source /snakepit/jobs/560/tmp/venv/bin/activate +source ../tmp/venv/bin/activate +# ls /snakepit/jobs/1023/keep/ +# source /snakepit/jobs/1023/keep/venv/bin/activate +# source /snakepit/jobs/1047/keep/venv/bin/activate # python extract_feats.py --data_path /snakepit/shared/data/keithito/LJSpeech-1.1/wavs --out_path /snakepit/shared/data/keithito/LJSpeech-1.1/loader_data/ --config config.json --num_proc 32 -CUDA_VISIBLE_DEVICES="1" python train.py --config_path config.json --debug true +# python train.py --config_path config_kusal.json --debug true +python train.py --config_path config.json --debug true +# python -m cProfile -o profile.cprof train.py --config_path config.json --debug true # nvidia-smi diff --git a/.install b/.install index cfa0a04a..acc7b6cc 100644 --- a/.install +++ b/.install @@ -1,4 +1,4 @@ #!/bin/bash -# virtualenv -p python3 ../tmp/venv -# source ../tmp/venv/bin/activate -# python setup.py develop +virtualenv -p python3 ../tmp/venv +source ../tmp/venv/bin/activate +python setup.py develop diff --git a/config.json b/config.json index bbff8d9f..86cf0a01 100644 --- a/config.json +++ b/config.json @@ -1,9 +1,9 @@ { - "model_name": "TTS-lws-1025", - "audio_processor": "audio_lws", + "model_name": "TTS-larger-256", + "audio_processor": "audio", "num_mels": 80, "num_freq": 1025, - "sample_rate": 20000, + "sample_rate": 22050, "frame_length_ms": 50, "frame_shift_ms": 12.5, "preemphasis": 0.97, @@ -17,7 +17,7 @@ "epochs": 1000, "lr": 0.002, "warmup_steps": 4000, - "batch_size": 52, + "batch_size": 32, "eval_batch_size":-1, "r": 5, diff --git a/config_kusal.json b/config_kusal.json index bb4f8fd6..cd300f4d 100644 --- a/config_kusal.json +++ b/config_kusal.json @@ -1,9 +1,9 @@ { - "model_name": "TTS-kusal", - "audio_processor": "audio_lws", + "model_name": "TTS-kusal-larger", + "audio_processor": "audio", "num_mels": 80, "num_freq": 1025, - "sample_rate": 22000, + "sample_rate": 22050, "frame_length_ms": 50, "frame_shift_ms": 12.5, "preemphasis": 0.97, @@ -17,7 +17,7 @@ "epochs": 1000, "lr": 0.002, "warmup_steps": 4000, - "batch_size": 52, + "batch_size": 32, "eval_batch_size":-1, "r": 5,