Music_RBM
Music_RBM copied to clipboard
module 'midi' has no attribute 'read_midifile'
Traceback (most recent call last): File "rbm_chords.py", line 36, in songs = get_songs('Pop_Music_Midi') # These songs have already been converted from midi to msgpack File "rbm_chords.py", line 32, in get_songs raise e File "rbm_chords.py", line 28, in get_songs song = np.array(midi_manipulation.midiToNoteStateMatrix(f)) File "C:\Users\Paras\Downloads\tensorflow-music-generator-master\midi_manipulation.py", line 11, in midiToNoteStateMatrix pattern = midi.read_midifile(midifile) AttributeError: module 'midi' has no attribute 'read_midifile'