diff options
| author | jules on spawn <spawn@cortex> | 2018-07-29 18:11:02 +0200 |
|---|---|---|
| committer | jules on spawn <spawn@cortex> | 2018-07-29 18:11:02 +0200 |
| commit | a4edf0e6d7293da3584147499ba7abf3842348f4 (patch) | |
| tree | 6c5a0ee7a8d376c4bc5ceaf48c975cdfff245607 /docs/HOLLY VOICE.md | |
| parent | cee44f61c90c1e7cb543ed3e8148b905c3c0e554 (diff) | |
| parent | f0f4dd17b2c5e07dd98ff48059f6090a670662dd (diff) | |
Diffstat (limited to 'docs/HOLLY VOICE.md')
| -rw-r--r-- | docs/HOLLY VOICE.md | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/docs/HOLLY VOICE.md b/docs/HOLLY VOICE.md new file mode 100644 index 0000000..62e401d --- /dev/null +++ b/docs/HOLLY VOICE.md @@ -0,0 +1,53 @@ +# BUILD FEATURES + +PYTHONPATH=`pwd` python scripts/extract_acoustic_feature.py \ + --input1_directory './data/voice-44100/wav/holly' \ + --input2_directory './data/voice-44100/wav/mat' \ + --output1_directory './data/voice-44100/feat/holly' \ + --output2_directory './data/voice-44100/feat/mat' + +# TRAIN CONVERSION NETWORK + +/home/spawn/.virtualenv/yukarin/bin/python train.py \ + ./holly_2_mat_voice_conv.json \ + ./data/voice-44100/net/voice_mat_2_holly + +# TEST CONVERSION NETWORK + +PYTHONPATH=`pwd` /home/spawn/.virtualenv/yukarin/bin/python scripts/voice_conversion_test.py \ + --model_directory ./data/voice-44100/net/ \ + --input_wave_directory ./data/voice-44100/wav/mat/ \ + --gpu 0 \ + voice_mat_2_holly + +# EXTRACT SPECTROGRAMS + +mkdir -p ./data/voice-44100/net_sr/ +mkdir ./data/holly-44100/spec/holly/ + +PYTHONPATH=`pwd` python scripts/extract_spectrogram_pair.py \ + --input_directory './data/holly-44100/wav/' \ + --output_directory './data/holly-44100/spec/' + +# TRAIN SUPER RESOLUTION + +/home/spawn/.virtualenv/yukarin/bin/python train_sr.py \ + ./holly_voice_sr.json \ + ./data/holly-44100/net_sr/holly/ + +# TEST SUPER RESOLUTION + +/home/spawn/.virtualenv/yukarin/bin/python ./scripts/super_resolution_test.py \ + --model_directory ./data/holly-44100/net_sr/ \ + --input_wave_directory ./data/holly-44100/wav/holly/ \ + --gpu 0 \ + holly + +# VOICE TRANSFORM + +PYTHONPATH=`pwd` /home/spawn/.virtualenv/yukarin/bin/python scripts/process.py \ + --conv_model_directory ./data/voice-44100/net/voice_mat_2_holly/ \ + --sr_model_directory ./data/voice-44100/net_sr/holly/ \ + --input_directory ./test_data \ + --output_directory ./output \ + --gpu 0 |
