Commit 89ed9966 authored by Richard Vogl's avatar Richard Vogl
Browse files

fix prepare sets

parent b457f06f
......@@ -25,7 +25,7 @@ def get_feats_and_targs(file_list, audio_path, midi_path):
print("number of frames: %d, featlen: %d" % (num_frames, feat_len))
times, _ = midi_to_txt(midi_file)
targets = compute_target_array_from_times(posprocess_annotations(times, offset=21, num_classes=number_notes),
targets = compute_target_array_from_times(posprocess_annotations(np.asarray(times), offset=21, num_classes=number_notes),
fps, num_frames, number_notes)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment