-
Notifications
You must be signed in to change notification settings - Fork 278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Importer import_librivox.py
can't render absolute path of WAV files in CSV
#2349
Comments
Lines 193 to 197 in a694187
So it is using the absolute path of the wav files in the csv. Lines 126 to 144 in a694187
Lines 152 to 155 in a694187
The real issue is with this line. Line 144 in a694187
Since dest_dir is a Path object,Lines 91 to 93 in a694187
it should really be files.append(wav_file.as_posix()) |
import_librivox.py
can't render absolute path of WAV files in CSV
@RobinE89 can you make the changes locally and test if it works? I'm starting to think that I've just broke compatibility with windows without even solving anything because https://docs.python.org/3/library/pathlib.html#pathlib.PurePath.as_posix Anyways you should probably set |
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
The text was updated successfully, but these errors were encountered: