multi-track index file and loading #454
Replies: 1 comment
-
For the index, we'd envisioned having something like:
Where everything under the top-level key "tracks" is identical to the current indexes. Obviously we'd need for #277 to be finalized.
In the meantime, for the multitracks, what about manually defining just the
Yes! that was our plan. I didn't implement
Yes sure! I think we miiiight need #277 done to do it smoothly (to get all the mutltrack IDs from the index). If you can find a way to do it generally though, feel free to. |
Beta Was this translation helpful? Give feedback.
-
I have some doubts with the structure of phenicx anechoic. The dataset object in 0.3 changed a bit the way the data is loaded and it needs some changes to adapt to multi-track
The moment I have this structure in the index:
for multi-tracks beethoven, bruckner, mozart, mahler with annotations and audio files.
And in the loader I have the Track and MultiTrack defined as in CONTRIBUTING docs.
This currently gives an error when calling dataset.load_tracks() because it tries to identify the track ids by the dictionary in which we have the multi-tracks as keys.
I remember seeing this in a conversation between @rabitt and @magdalenafuentes on the dataset object. Should we have a load_multitrack()? And then, to extrapolate, for the lastfm datasets a load_record() method or similar?
I can add the load_multitrack() to the core.py as a method in Dataset.
Beta Was this translation helpful? Give feedback.
All reactions