Skip to content
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

Fix small bug in eval2000 #1126

Merged
merged 29 commits into from
Aug 23, 2023
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ce0f5c1
add transform attribute for MixedCut
desh2608 Apr 20, 2023
ab18682
add mix_first option in normalize_loudness
desh2608 Apr 20, 2023
e4bca74
handle the case when mix is called on MixedCut with existing transforms
desh2608 Apr 20, 2023
71a9236
add test for mixing with transformed MixedCut
desh2608 Apr 20, 2023
2e54646
enhancements and bug fixes
desh2608 May 16, 2023
db37a75
small changes in some cutset methods
desh2608 May 16, 2023
7b59ecd
small fix in error message
desh2608 May 16, 2023
a64727a
return word alignments from ami recipe
desh2608 May 17, 2023
850ce2c
add word alignments for ICSI
desh2608 May 18, 2023
4b39c6f
remove unwanted whitespace
desh2608 May 18, 2023
3c16b90
fix IHM preparation
desh2608 May 18, 2023
9921575
remove words with zero or negative duration
desh2608 May 18, 2023
dba413f
ensure word alignments respect segment boundary
desh2608 May 18, 2023
12be424
add save-to-wav option for icsi
desh2608 May 22, 2023
c4b957d
add test for mixing cut with recording
desh2608 May 22, 2023
04ca4aa
Merge branch 'ami_icsi'
desh2608 May 22, 2023
fef3aa3
Merge branch 'cuts'
desh2608 May 22, 2023
0de443e
Merge branch 'mixed_cut_transform'
desh2608 May 22, 2023
80619bb
Merge branch 'master' of https://github.com/lhotse-speech/lhotse
desh2608 Jun 8, 2023
752be69
style fix
desh2608 Jun 8, 2023
5bd483d
Merge branch 'master' of https://github.com/lhotse-speech/lhotse
desh2608 Jun 11, 2023
68f3ffd
Merge branch 'loudness_fix'
desh2608 Jun 11, 2023
2171d7e
add data prep for voxpopuli
desh2608 Jun 12, 2023
df32e5c
Merge branch 'master' of https://github.com/lhotse-speech/lhotse
desh2608 Jun 15, 2023
67c9223
Merge branch 'recipe/voxpopuli'
desh2608 Jun 28, 2023
0e36e3f
fix merge conflicts
desh2608 Aug 11, 2023
399834b
Merge branch 'master' of https://github.com/lhotse-speech/lhotse
desh2608 Aug 23, 2023
5ecc856
fix bug in eval2000
desh2608 Aug 23, 2023
293082f
remove storing unnecessary things
desh2608 Aug 23, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lhotse/recipes/eval2000.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ def prepare_eval2000(
)
for group in groups
)
segment_supervision = make_segments(transcript_dir_path)
supervision_set = SupervisionSet.from_segments(segment_supervision)
recordings, supervisions = fix_manifests(recordings, supervision_set)
segments = make_segments(transcript_dir_path)
supervisions = SupervisionSet.from_segments(segments)
recordings, supervisions = fix_manifests(recordings, supervisions)
validate_recordings_and_supervisions(recordings, supervisions)
if output_dir is not None:
output_dir = Path(output_dir)
output_dir.mkdir(parents=True, exist_ok=True)
recordings.to_file(output_dir / "eval2000_recordings_all.jsonl.gz")
supervision_set.to_file(output_dir / "eval2000_supervisions_unnorm.jsonl.gz")
supervisions.to_file(output_dir / "eval2000_supervisions_unnorm.jsonl.gz")
return {"recordings": recordings, "supervisions": supervisions}


Expand Down
Loading