Hello,
as per discussion, you can save a copy of your work and re do your assignment.
While copy and pasting some of the codes, you have edited the grader cells which can also cause grader failure due to metadata editing.
Kindly refrain from copy and pasting codes.
Every notebook gets updated with the metadata grader has assigned and when you copy and paste codes from outside, you will never pass the grades.
Also this kind of practice is not allowed. Remember the graders will know when you copy-paste codes.
In your encoder cell, Zero padding’s layer is not followed as per the instructions given.
In the decoder cell, the data_format is incorrect.
Also while I was checking your codes you choice of activation in the decoder grader cell is incorrect.
in the instructions it is clearly mentioned which activation need to be used and you while copying didn’t notice that
append a sigmoid activation
o = (tf.keras.layers.Activation(‘softmax’))(o)
END CODE HERE
your model compile is incorrect, especially optimizer. Can I know what do you mean by this nesterov=True),???
Also if you notice in the expected output the epoch used is 70 and you have used 200!!!
Try again, you can refer anywhere you want but do not copy-paste codes. Read every instructions carefully, half of the hints will be in instructions.
Regards
DP