From c84018252e845689ee8e15532edc73bc890ff3c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Bo=CC=88ck?= Date: Fri, 7 Jan 2022 12:16:14 +0100 Subject: [PATCH] fix ChordEvaluation docstrings fixes #460 --- madmom/evaluation/chords.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/madmom/evaluation/chords.py b/madmom/evaluation/chords.py index c044c070..952d0940 100644 --- a/madmom/evaluation/chords.py +++ b/madmom/evaluation/chords.py @@ -54,7 +54,7 @@ def encode(chord_labels): Parameters ---------- chord_labels : numpy structured array - Chord segments in `madmom.io.SEGMENT_DTYPE` format + Chord segments in `madmom.io.SEGMENT_DTYPE` format. Returns ------- @@ -728,10 +728,10 @@ class ChordEvaluation(EvaluationMixin): Parameters ---------- - detections : str - File containing chords detections. - annotations : str - File containing chord annotations. + detections : numpy structured array + Detected chord segments in `madmom.io.SEGMENT_DTYPE` format. + annotations : numpy structured array + Annotated chord segments in `madmom.io.SEGMENT_DTYPE` format. name : str, optional Name of the evaluation object (e.g., the name of the song).