From 96a720c597e05fab8f2372ec16a73e7af052e156 Mon Sep 17 00:00:00 2001 From: Tilman Kamp <5991088+tilmankamp@users.noreply.github.com> Date: Wed, 30 Oct 2019 16:18:14 +0100 Subject: [PATCH] Relative paths in M-AILAB importer --- bin/import_m-ailabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/import_m-ailabs.py b/bin/import_m-ailabs.py index 283a4e9e..ac2dfda0 100755 --- a/bin/import_m-ailabs.py +++ b/bin/import_m-ailabs.py @@ -150,7 +150,7 @@ def _maybe_convert_sets(target_dir, extracted_data): else: writer = train_writer writer.writerow(dict( - wav_filename=wav_filename, + wav_filename=os.path.relpath(wav_filename, extracted_dir), wav_filesize=os.path.getsize(wav_filename), transcript=transcript, ))