Jazz solo with lstm music inference

please help me out

1 Like

The input to the RepeatVector step is the wrong shape, so you must be handling your x values incorrectly. I added print statements before and after that operation and here’s what I see:

x.shape before one_hot (None,)
x.shape after one_hot (None, 90)
x.shape after RepeatVector (None, 1, 90)
x.shape before one_hot (None,)
x.shape after one_hot (None, 90)
x.shape after RepeatVector (None, 1, 90)

Repeated a zillion more times, but you get the point. What do you see when you try that? Then you need to figure out why it is different. :nerd_face:

1 Like

found the issue, I was generating x from x but it should be from out.
problem solve.
thank you

1 Like