You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Andrew Ng, Sequential Models Course, Deep Learning Specialization]
140
+
128
141
### Embeddings <aname="SentimentEmbeddings"></a>
129
142
130
143
Glove 50 dimension, 40000 words of dictionary file is used for word embeddings. It should be downloaded from https://www.kaggle.com/watts2/glove6b50dtxt (file size = ~168MB))
@@ -140,10 +153,14 @@ LSTM structure is used for classification.
## SAMPLE LSTM CODE: Music Generation <aname="MusicGeneration"></a>
148
165
149
166
With trained DL model (LSTM), new sequences of time series data can be predicted. In this project, it will be implemented a model which inputs a sample jazz music and samples/generates a new music. Code is adapted from Andrew Ng's Course 'Sequential models'.
[Andrew Ng, Sequential Models Course, Deep Learning Specialization]
205
+
185
206
Music Inference Model is similar trained model and it is implemented with "music_inference_model(LSTM_cell, densor, n_values = 78, n_a = 64, Ty = 100)" function. Music is generated with "redict_and_sample" function.
186
207
Finally, your generated music is saved in output/my_music.midi.
0 commit comments