-
Notifications
You must be signed in to change notification settings - Fork 58
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
Adding loader for SCMS #597
Conversation
Codecov Report
@@ Coverage Diff @@
## master #597 +/- ##
==========================================
+ Coverage 96.96% 97.07% +0.10%
==========================================
Files 58 61 +3
Lines 6990 7238 +248
==========================================
+ Hits 6778 7026 +248
Misses 212 212 |
cbd8644
to
12d7c83
Compare
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.
Hey @genisplaja, looks great, left just minor comments. Let me know your thoughts and we can merge soon!
mirdata/datasets/scms.py
Outdated
return load_audio(*args, **kwargs) | ||
|
||
def load_pitch(self, *args, **kwargs): | ||
return load_pitch(*args, **kwargs) |
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.
Same here, is this the issue we discussed today that appears in most loaders?
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.
missed testing load_audio
actually (done it now), but load_pitch
and load_activations
are actually tested, so I wonder if yeah, is one of these testing problems we discussed...
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.
ok sorry @magdalenafuentes, these functions should not be there, were deprecated a few versions ago. The newest loaders do not have them actually, started from the wrong template hehe. Fixed!
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! Thanks @genisplaja
Adding loader for SCMS (Saraga Carnatic Melody Synth)
Description
Please include the following information at the top level docstring for the dataset's module mydataset.py:
Dataset loaders checklist:
scripts/
, e.g.make_my_dataset_index.py
, which generates an index file.mirdata/indexes/
e.g.my_dataset_index.json
.mirdata/my_dataset.py
tests/datasets/
, e.g.test_my_dataset.py
docs/source/mirdata.rst
anddocs/source/table.rst
tests/test_full_dataset.py
on your dataset.