Skip to content
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

[BRID] choice_track() loads tracks without annotations #646

Open
giovana-morais opened this issue Dec 8, 2024 · 0 comments
Open

[BRID] choice_track() loads tracks without annotations #646

giovana-morais opened this issue Dec 8, 2024 · 0 comments

Comments

@giovana-morais
Copy link
Contributor

BRID has two kinds of data: mixtures and solo tracks but we only have beat annotations for the mixtures. when we tried to load a random track to validate the annotations, the code broke because it was trying to get a track without the annotations

steps to reproduce:

data_home = os.path.join(PATH, 'mir_datasets', 'brid')
brid = mirdata.initialize('brid', data_home=data_home)
brid.download()
ct = brid.choice_track()
print(ct.track_id)
# "[0349] S3-TT1-02-PA"
print(ct.beats.times)
AttributeError: 'NoneType' object has no attribute 'times'

it is useful to provide all the tracks because people can work on other stuff than beat tracking, but maybe we should have a way of asking from a random track with annotations or general? something like
ct = brid.choice_track(with_annotation=True)?

cc: @magdalenafuentes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant