Operands could not be broadcast together with shapes (640,) (5,)

about def windowed_dataset my coding is below.
why getting error??

[code removed - moderator]

Shuffling should happen after you’re done with processing a single row i.e. dividing the row into input and output features.

Balaji, thank you!!
But I tried it. Although I got same error.
coding is below.

[code removed - moderator]

You have a map step after shuffle. Please remove it.

Thank you, Balaji!!
I solved it!!

hello Balaji in the windowed dataset assignment, after shuffling step there is split step for features and labels, which does require dataset.map. I am getting value error. I followed the ungraded lab instructions for this assignment

The map step is responsible for creating a tuple of (features, label). If you are unable to find the mistake, please click my name and message your notebook as an attachment.

1 Like

hi Balaji, there was a mistake by me, I had interchange code in different line which I corrected. I have cleared the assignment. Thank you again for replying :slight_smile: