Skip to content

Commit

Permalink
Fix that annotations come in track_id folders
Browse files Browse the repository at this point in the history
  • Loading branch information
carlthome committed Nov 8, 2023
1 parent 0ab464b commit 77d9341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/legacy/make_salami_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def make_salami_index(data_path):
)
audio_dir = os.path.join(data_path, "Salami", "audio")
annotations_files = os.listdir(annotations_dir)
track_ids = sorted([os.path.basename(f).split(".")[0] for f in annotations_files])
track_ids = sorted([os.path.basename(f) for f in annotations_files])

salami_index = {}
for track_id in track_ids:
Expand Down

0 comments on commit 77d9341

Please sign in to comment.