It´s very difficult to understand what happens with my exercise. I runs all right, but the expected output (dinossour names) is different from my output. I don’t know what else I can check to find the mistake.
Iteration: 22000, Loss: 12.631032
Ostyops
Nokaceratochubuhimamacterus
Nynurus
Opeacops
Osshor
Nocaurus
Ossaurus
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-36-725c093d6b91> in <module>
1 parameters, last_name = model(data.split("\n"), ix_to_char, char_to_ix, 22001, verbose = True)
2
----> 3 assert last_name == 'Trodonosaurus\n', "Wrong expected output"
4 print("\033[92mAll tests passed!")
AssertionError: Wrong expected output
My code is:
### START CODE HERE ###
# mentor edit: code removed
### END CODE HERE ###