from local

This commit is contained in:
dohe0342 2023-01-04 03:12:53 +09:00
parent 69fd757782
commit 6d443ed864
2 changed files with 1 additions and 0 deletions

View File

@ -480,6 +480,7 @@ class LibriSpeechAsrDataModule:
self.args.manifest_dir / f"librispeech_cuts_test-clean.jsonl"
)
elif option == 'user':
print(self.args.manifest_dir)
json_list = sorted(glob(self.args.manifest_dir + "/userlibri/test-clean/*"))
spk_list = [json.split('/')[-1][:-6] for json in json_list]