Week 3 assignment 1 Neural_machine_translation_with_attention_v4a error training the model

I have done the exercises, nd submitted them, and I got 100. Now when I’m trying to run the model I get the following error:
ValueError: Data cardinality is ambiguous:
x sizes: 10000, 10, 10
y sizes: 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000
Please provide data which shares the same first dimension.
Can anyone please help ?

I just restarted the kernel and it worked