-
Notifications
You must be signed in to change notification settings - Fork 217
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
ASR,ST and CS recipies #1307
base: master
Are you sure you want to change the base?
ASR,ST and CS recipies #1307
Conversation
lhotse/cut/data.py
Outdated
# Case 3: anything else | ||
else v | ||
) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code shouldn't be reformatted, it's possible you're using a different version of black. Please revert all formatting changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please move global imports of optional dependencies like bs4 to local imports instead, the CI is failing on trying to import them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll continue to review once this is done (too many changes atm)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @pzelasko , I have addressed your comments.
"supervisions": default_collate( | ||
[ | ||
{ | ||
"text": supervision.text, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we can just add ”language”: supervision.language,
in the line below and always return it to get rid of the extra option and code duplication.
This is a pull request for: