C5 Week 1 - Assignment 2 Model : Wrong output

Hi! So I am trying to build the model, and everything runs fine, however I get this output (at the end of the training):

Iteration: 22000, Loss: 0.294620

Iavesaqr
Esitoriasaurus
Esitoriasaurus
Iaeaurus
Urus
Andoravenator
Saurur

Which is not the expected output.

I figure this must have something to do with the idx value.
My solution gives the remainder in the division of j by dino_names (so j % dino_names),

Does somebody else have this output too?

I think j should be divided by the number of examples instead of dino_names

Thanks! I apparently misunderstood what dino_names was…