Here’s my code for the music_inference_model:
{code removed by mentor}
I am getting this error:
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-29-7ced16cd24e3> in <module>
3 # UNIT TEST
4 inference_summary = summary(inference_model)
----> 5 comparator(inference_summary, music_inference_model_out)
~/work/W1A3/test_utils.py in comparator(learner, instructor)
16 def comparator(learner, instructor):
17 if len(learner) != len(instructor):
---> 18 raise AssertionError("Error in test. The lists contain a different number of elements")
19 for index, a in enumerate(instructor):
20 b = learner[index]
AssertionError: Error in test. The lists contain a different number of elements
Can someone help me, as to what is wrong? Tried several things, but can’t get past this assignment