A lightweight yet powerful audio-to-MIDI converter with pitch bend detection
Python audiolightweightmachine-learningmidimusicpitch-detectionpolyphonicpythontranscriptiontypescript
fix list / map comprehension re: pr comment.
Benjie Genchelee5fc23c7ea3
diff --git a/tests/data/test_maestro.py b/tests/data/test_maestro.pyindex 6ca17a2..92fe87c 100644--- a/tests/data/test_maestro.py+++ b/tests/data/test_maestro.py@@ -188,5 +188,5 @@ def test_maestro_create_input_data() -> None:assert len(data)test_fnames = {TRAIN_TRACK_ID, VALID_TRACK_ID, TEST_TRACK_ID, GT_15M_TRACK_ID}- splits = set(map(lambda el: el[1], [d for d in data if d[0].split(".")[0] in test_fnames]))+ splits = {d[1] for d in data if d[0].split(".")[0] in test_fnames}assert splits == set(["train", "validation", "test"])