STT icon indicating copy to clipboard operation
STT copied to clipboard

Bug: Importer `import_librivox.py` can't render absolute path of WAV files in CSV

Open RobinE89 opened this issue 1 year ago • 2 comments

Hey,

(I don't know if this applies to all importers - I noticed it with the librivox - importer) if you define the basepath eg with "own_projects", the importer writes the filename like that: own_project/LibriSpeech/ dev-clean-wav/7850/73752/0000/7850-73752-0000.wav and place the csv in the following folder: own_project/LibriSpeech/

if you then want to train that set and define the train path as follows: --train_files own_project/LibriSpeech/librivox-train-clean-100.csv

...it will fail because: own_project/LibriSpeech/ own_project/LibriSpeech/ dev-clean-wav/7850/73752/0000/7850-73752-0000.wav not found.

"coqui_stt_training.train" inserts the path of the csv file in front of the file name. That makes sense, but then the path from the importer is wrong. trifle, but I still think it's not wanted?!

best regards

RobinE89 avatar Mar 03 '23 14:03 RobinE89