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

Beatles "Birthday" song seglab's annotation error #552

Open
CyxouD opened this issue Jul 29, 2022 · 0 comments
Open

Beatles "Birthday" song seglab's annotation error #552

CyxouD opened this issue Jul 29, 2022 · 0 comments

Comments

@CyxouD
Copy link
Contributor

CyxouD commented Jul 29, 2022

When I call mirdata.datasets.beatles.load_sections for Beatles' "Birthday" song, I get the following error ValueError: Interval start times must be smaller than end times. If we check lab file of this song (the content is below) we will really see that silence section has end time = 162.907 which is smaller than start time = 162.922. I confirm that issue exists in original annotations at original source website http://www.isophonics.net/files/annotations/seglab/The%20Beatles/10CD2_-_The_Beatles/CD2_-_01_-_Birthday.lab.

According to FAQ you are probably not editing annotations, but at least other researchers can find the issue faster by searching in mirdata issues. However, can community create a new version of dataset in this case with editions as stated here?

The file is contained at beatles/annotations/seglab/The Beatles/10CD2_-_The_Beatles/CD2_-_01_-_Birthday.lab

Content of CD2_-_01_-_Birthday.lab file:

0.000	0.980		silence
0.980	22.291		intro
22.291	42.898		verse
42.898	70.496		long_connector
70.496	87.918		bridge
87.918	108.693		verse_(instrumental)
108.693	115.612		short_connector
115.612	132.833		bridge
132.833	153.437		verse
153.437	162.922		outro
162.922	162.907		silence

The other files with the same issue:

  1. 10CD1_-The_Beatles/CD1-05-_Wild_Honey_Pie.lab
  2. 11_-Abbey_Road/10-_Sun_King.lab
  3. 08_-_Sgt.Pepper's_Lonely_Hearts_Club_Band/02-_With_A_Little_Help_From_My_Friends.lab
  4. 10CD1_-The_Beatles/CD1-03-_Glass_Onion.lab
  5. 10CD1_-The_Beatles/CD1-01-_Back_in_the_USSR.lab
  6. 10CD2_-The_Beatles/CD2-11-_Cry_Baby_Cry.lab

My code to reproduce:

import mirdata
import os

beatles_set = mirdata.initialize('beatles', data_home=os.path.join('data/beatles'))
beatles_set.download()  # download the dataset
beatles_set.validate()  # validate that all the expected files are there

section_data = mirdata.datasets.beatles.load_sections(os.path.join('data/beatles/annotations/seglab/The Beatles/10CD2_-_The_Beatles/CD2_-_01_-_Birthday.lab')
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