From 805ec25170e65d317e708bccd2e8cf711aa28ff7 Mon Sep 17 00:00:00 2001 From: Benjie Genchel Date: Thu, 8 Aug 2024 20:19:11 -0400 Subject: [PATCH] small syntax error in example_deserialization --- basic_pitch/data/tf_example_deserialization.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic_pitch/data/tf_example_deserialization.py b/basic_pitch/data/tf_example_deserialization.py index 54551e4..acb2f99 100644 --- a/basic_pitch/data/tf_example_deserialization.py +++ b/basic_pitch/data/tf_example_deserialization.py @@ -211,7 +211,7 @@ def sample_datasets( choice_dataset = tf.data.Dataset.range( n_datasets ).repeat() # this repeat is critical! if not, only n_dataset points will be sampled!! - return tf.data.Datasets.choose_from_datasets(ds_list, choice_dataset) + return tf.data.Dataset.choose_from_datasets(ds_list, choice_dataset) def transcription_file_generator(