Module 01 · Recurrent Neural Networks
Jazz Improvisation with LSTM用 LSTM 即兴演奏爵士乐
Welcome to the final (required) assignment of Week 1, Course 5 of the Deep Learning Specialization! In this notebook, you're going to build a model that uses an LSTM to generate music. At the end, you'll even be able to listen to your own music!
欢迎来到深度学习专项课程第 5 门课第 1 周的最后一次(必修)作业!在本笔记本中,您将构建一个使用 LSTM 生成音乐的模型。最后,您甚至可以听到自己的音乐!
Instructions: 说明:
-
Do not use loops (for/while) in your code, unless the instructions explicitly ask you to do so.
不要在您的代码中使用循环(for/while),除非说明中明确要求这样做。 -
Some code blocks contain graded functions, where you’ll be expected to write some code. These are marked at the top of the block by a #GRADED FUNCTION comment, and you’ll write your code in between the ### START SOLUTION HERE ### and ###END SOLUTION HERE### comments. Also, look for another comment that indicates roughly how many lines of code it will take to complete. After coding your function, run the cell right below it. This cell checks whether your results are correct, and cannot be modified.
某些代码块包含评分函数,您需要编写一些代码。这些函数在代码块顶部以#评分函数注释标记,您将在### START SOLUTION HERE ###和###END SOLUTION HERE###注释之间编写代码。还要寻找另一个注释,它大致说明了完成代码需要多少行。编写完函数后,运行其下方的单元格。此单元格检查您的结果是否正确,且不能修改。
When you run that cell and see the following:
当你运行该单元格并看到以下内容:
"All tests passed." 所有测试通过。
...You’re in good shape. :)
你状态良好。 :)
Take your time to complete this assignment! After you are done, submit your work and check your results. You need to score 70% to pass. Good luck! :)
请慢慢完成这项作业!完成后,提交你的作品并检查你的结果。你需要得到 70%的分数才能通过。祝你好运! :)
Click on "My Submission" above to see your grades. It might take up to one minute for the graders to process your submission. You will see the point breakdown of your assignment, along with the grader feedback.
点击上方的“我的提交”查看成绩。评分员处理您的提交可能需要长达一分钟。您将看到作业的得分分解以及评分员的反馈。
📎 Improvise_a_Jazz_Solo_with_an_LSTM_Network_v4-635afe3b-a54f-41f7-903c-c4b0960e2ec0.ipynb
Source: https://www.coursera.org/learn/nlp-sequence-models/programming/ZS7X2/jazz-improvisation-with-lstm