-
Notifications
You must be signed in to change notification settings - Fork 215
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
Problem with CutSet.from_manifests #1240
Comments
I don't think |
Thank you for you response. However, this feature seems to me to be essential to avoid having to regenerate features every time you change a comma in the supervision texts, and it would be interesting to be able to do this simply in future Lhotse developments. |
Thanks, you're right. I'll keep the issue open for now. |
I have the same issue. I'm doing this for the purpose of undoing |
Seems to be because features doesn't have a |
Features does have |
Hi,
I'm having a problem with the from_manifest function in the CutSet class.
I've decomposed a CutSet manifest using the CutSet.decompose() function so as to obtain the 3 files "features", "recordings" and "supervisions", with the aim of modifying the "supervision" file and then regenerating the CutSet file.
The problem occurs when I try to recompose these three files with the CutSet.from_manifests function, I get the following error :
Traceback (most recent call last):
File "local/recompose_manifest.py", line 97, in
main()
File "local/recompose_manifest.py", line 86, in main
cut_set = CutSet.from_manifests(recordings=recordings, supervisions=supervisions, features=features)
File "/home/despres/miniconda3/envs/k2_2312/lib/python3.8/site-packages/lhotse/cut/set.py", line 352, in from_manifests
return create_cut_set_eager(
File "/home/despres/miniconda3/envs/k2_2312/lib/python3.8/site-packages/lhotse/cut/set.py", line 3003, in create_cut_set_eager
recording=recordings[feats.recording_id] if rec_ok else None,
File "/home/despres/miniconda3/envs/k2_2312/lib/python3.8/site-packages/lhotse/audio/recording_set.py", line 389, in getitem
return next(
StopIteration
This function works without a problem if I pass any subset of only 2 files as parameters ("supervision+features", "features+recordings", "supervisions+recording").
Is it a bug, or is this function simply not designed for it?
If not, is there another way of regenerating this CutSet file without having to regenerate the features?
Thank you very much for your time.
The text was updated successfully, but these errors were encountered: