First of all, thanks for the reply in the thread The same spped with cpu and with gpu helped me to review a couple of topics.
DeepSpeech Versión v0.7.0
Server with GPU NVIDIA Tesla K80
I’m trying Transfer-Learning (new alphabet)
and I execute
CUDA_VISIBLE_DEVICES=0 python3 ./…/…/DeepSpeech.py --drop_source_layers 1 --alphabet_config_path alphabet.txt --save_checkpoint_dir . --load_checkpoint_dir . --train_files ./…/clips/train.csv --dev_files ./…/clips/dev.csv --test_files ./…/clips/test.csv --scorer_path ./…/deepspeech-0.7.0-models.scorer --load_cudnn --train_cudnn
being the alphabet.txt the spanish one and the scorer I downloaded it from https://github.com/mozilla/DeepSpeech/releases/tag/v0.7.0
I don’t know if I’m doing anything wrong, but why when I execute:
python3 ./…/DeepSpeech.py
–train_files clips/train.csv
–dev_files clips/dev.csv
–test_files clips/test.csv
–test_batch_size 64
–dev_batch_size 64
–train_batch_size 64
–n_hidden 2048
–learning_rate 0.0001
–epochs 125
–dropout_rate 0.40
–alphabet_config_path ./…/alphabet.txt
–export_dir export070
–checkpoint_dir export070
–summary_dir export070
–scorer_path deepspeech-0.7.0-models.scorer
–export_language es
My last step on Epoch 0 is
Epoch 0 | Training | Elapsed Time: 0:21:52 | Steps: 366 | Loss: 133.388470
Epoch 0 | Training | Elapsed Time: 0:21:59 | Steps: 367 | Loss: 133.466653
Epoch 0 | Training | Elapsed Time: 0:21:59 | Steps: 367 | Loss: 133.466653
and with
CUDA_VISIBLE_DEVICES=0 python3 ./…/…/DeepSpeech.py --drop_source_layers 1 --alphabet_config_path alphabet.txt --save_checkpoint_dir . --load_checkpoint_dir . --train_files ./…/clips/train.csv --dev_files ./…/clips/dev.csv --test_files ./…/clips/test.csv --scorer_path ./…/deepspeech-0.7.0-models.scorer --load_cudnn --train_cudnn
Epoch 0 | Training | Elapsed Time: 6:40:11 | Steps: 23524 | Loss: 100.323532
Epoch 0 | Training | Elapsed Time: 6:40:13 | Steps: 23525 | Loss: 100.326249
Epoch 0 | Training | Elapsed Time: 6:40:15 | Steps: 23526 | Loss: 100.329100
Epoch 0 | Training | Elapsed Time: 6:40:15 | Steps: 23526 | Loss: 100.329100
With these numbers it would take about 20 days to train…
Do I have to pass you any parameters?
I have verified that it uses the GPU.
Another question, I want to better understand how this technology works. Can you recommend a course that has worked for you?
Thank you very much!!!