Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@aravindpai
Created March 26, 2020 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aravindpai/159a149de2d47dc5a336fb8a22ff7605 to your computer and use it in GitHub Desktop.
Save aravindpai/159a149de2d47dc5a336fb8a22ff7605 to your computer and use it in GitHub Desktop.
#preparing input sequences
x_seq=[]
for i in x:
temp=[]
for j in i:
#assigning unique integer to every note
temp.append(x_note_to_int[j])
x_seq.append(temp)
x_seq = np.array(x_seq)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment