-
Notifications
You must be signed in to change notification settings - Fork 741
Add cmu_arctic dataset #710
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
Conversation
torchaudio/datasets/cmu_arctic.py
Outdated
| for line in ft: | ||
| file_id, utterance = line.strip().split(" ", 2)[1:] | ||
| if fileid == file_id: | ||
| utterance = utterance[1:-3] |
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.
Can you add a quick comment to document this line?
# clean "(utterance )" to "utterance"
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 will add the comment. Thanks.
torchaudio/datasets/cmu_arctic.py
Outdated
|
|
||
| class CMU_ARCTIC(Dataset): | ||
| """ | ||
| Create a Dataset for CMU_Arctic. Each item is a tuple of the form: |
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.
nit: no need for underscore
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 will change it. Thanks.
Codecov Report
@@ Coverage Diff @@
## master #710 +/- ##
==========================================
- Coverage 88.78% 88.72% -0.07%
==========================================
Files 22 23 +1
Lines 2355 2404 +49
==========================================
+ Hits 2091 2133 +42
- Misses 264 271 +7
Continue to review full report at Codecov.
|
|
Updates:
|
|
Updates:
|
vincentqb
left a comment
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.
LGTM! Let's wait on the tests to be done, and then please feel free to merge it :)
Add the CMU_ARCTIC dataset used here.
Related to #550
Fixes #512