mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-15 20:22:42 +00:00
Very minor change in alimeeting recipe
No need to load_audio. alimeeting audio data is wav format, default export_to_webdataset uses "flac". If load_audio uses default (True), webdataset would show "[Suppressed TypeError] Error message: save() got an unexpected keyword argument 'format'" during write
This commit is contained in:
parent
ebb1dea786
commit
862e817442
@ -551,6 +551,7 @@ def main():
|
|||||||
dev_cuts,
|
dev_cuts,
|
||||||
output_path=f"{dev}/shared-%d.tar",
|
output_path=f"{dev}/shared-%d.tar",
|
||||||
shard_size=300,
|
shard_size=300,
|
||||||
|
load_audio=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
if not os.path.exists(f"{test}/shared-0.tar"):
|
if not os.path.exists(f"{test}/shared-0.tar"):
|
||||||
@ -560,6 +561,7 @@ def main():
|
|||||||
test_cuts,
|
test_cuts,
|
||||||
output_path=f"{test}/shared-%d.tar",
|
output_path=f"{test}/shared-%d.tar",
|
||||||
shard_size=300,
|
shard_size=300,
|
||||||
|
load_audio=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
dev_shards = [
|
dev_shards = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user