If I set --export_dir, it event doesn’t create a folder.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
5
Again, --export_tflite is only on my branch, so it’s not expected to work
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
6
it should create it, but try forcing the creation. Also the error about access() is kind of worrying. Can you try mkdir -p /tmp/test-model and then run with --export_dir /tmp/test-model/ ?
I am running last version of master branch, commit de279168ecfa47e79d4b155c4c529267441a051a.
The output with the error:
(deepspeech) user@computer:/home/user/GIT/DeepSpeech/temp$ ./train.sh
Preprocessing ['data/dataset.csv']
Preprocessing done
Preprocessing ['data/dataset.csv']
Preprocessing done
W Parameter --validation_step needs to be >0 for early stopping to work
Preprocessing ['data/dataset.csv']
Preprocessing done
[scorer.cpp:63] FATAL: "(access(filename, 4)) == (0)" check failed. Invalid language model path
+ [ ! -f DeepSpeech.py ]
+ [ ! -f data/ldc93s1/ldc93s1.csv ]
+ [ -d ]
+ python -c from xdg import BaseDirectory as xdg; print(xdg.save_data_path("deepspeech/ldc93s1"))
+ checkpoint_dir=/home/ugnelis/.local/share/deepspeech/ldc93s1
+ python -u DeepSpeech.py --train_files data/ldc93s1/ldc93s1.csv --dev_files data/ldc93s1/ldc93s1.csv --test_files data/ldc93s1/ldc93s1.csv --train_batch_size 1 --dev_batch_size 1 --test_batch_size 1 --n_hidden 494 --epoch 75 --checkpoint_dir /home/ugnelis/.local/share/deepspeech/ldc93s1 --export_dir mano
Preprocessing ['data/ldc93s1/ldc93s1.csv']
Preprocessing done
Preprocessing ['data/ldc93s1/ldc93s1.csv']
Preprocessing done
W Parameter --validation_step needs to be >0 for early stopping to work
Preprocessing ['data/ldc93s1/ldc93s1.csv']
Preprocessing done
Loading the LM will be faster if you build a binary file.
Reading data/lm/lm.binary
----5---10---15---20---25---30---35---40---45---50---55---60---65---70---75---80---85---90---95--100
terminate called after throwing an instance of 'lm::FormatLoadException'
what(): ../kenlm/lm/read_arpa.cc:65 in void lm::ReadARPACounts(util::FilePiece&, std::vector<long unsigned int>&) threw FormatLoadException.
first non-empty line was "version https://git-lfs.github.com/spec/v1" not \data\. Byte: 43
Aborted (core dumped)
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
11
it seems pretty obvious to me: you have not followed the docs and properly setup Git-LFS ; hence your language model is not correct, as stated in the first error